meson_install: fix bad-continuation

Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com>
pull/161/head
Igor Gnatenko 10 years ago
parent 8018315cfd
commit e954f8314b
  1. 7
      meson_install.py

@ -124,7 +124,7 @@ def run_install_script(d):
env = {'MESON_SOURCE_ROOT' : d.source_dir, env = {'MESON_SOURCE_ROOT' : d.source_dir,
'MESON_BUILD_ROOT' : d.build_dir, 'MESON_BUILD_ROOT' : d.build_dir,
'MESON_INSTALL_PREFIX' : d.prefix 'MESON_INSTALL_PREFIX' : d.prefix
} }
script = d.install_script script = d.install_script
print('Running custom install script %s' % script) print('Running custom install script %s' % script)
suffix = os.path.splitext(script)[1].lower() suffix = os.path.splitext(script)[1].lower()
@ -206,8 +206,9 @@ def install_targets(d):
print("Symlink creation does not work on this platform.") print("Symlink creation does not work on this platform.")
printed_symlink_error = True printed_symlink_error = True
if is_elf_platform(): if is_elf_platform():
p = subprocess.Popen([d.depfixer, outname, install_rpath], stdout=subprocess.PIPE, p = subprocess.Popen([d.depfixer, outname, install_rpath],
stderr=subprocess.PIPE) stdout=subprocess.PIPE,
stderr=subprocess.PIPE)
(stdo, stde) = p.communicate() (stdo, stde) = p.communicate()
if p.returncode != 0: if p.returncode != 0:
print('Could not fix dependency info.\n') print('Could not fix dependency info.\n')

Loading…
Cancel
Save