diff options
author | Jussi Pakkanen <jpakkane@gmail.com> | 2018-04-11 22:07:29 +0300 |
---|---|---|
committer | Jussi Pakkanen <jpakkane@gmail.com> | 2018-04-11 22:07:29 +0300 |
commit | 5f1ec085d8a224102b4ad06918889c2268fca313 (patch) | |
tree | 74cbee9d3eb9b966482564c7262be75cedc250c6 | |
parent | b216f03a01ec795d8c73147f59800192d266ab87 (diff) | |
download | meson-paper_bag_of_shame.tar.gz |
🤦🤦🤦paper_bag_of_shame
-rw-r--r-- | mesonbuild/scripts/meson_install.py | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/mesonbuild/scripts/meson_install.py b/mesonbuild/scripts/meson_install.py index 6fa3d0d8f..013f2a001 100644 --- a/mesonbuild/scripts/meson_install.py +++ b/mesonbuild/scripts/meson_install.py @@ -291,12 +291,6 @@ def run_install_script(d): print('Failed to run install script {!r}'.format(name)) sys.exit(1) -def is_elf_platform(): - platname = platform.system().lower() - if platname == 'darwin' or platname == 'windows' or platname == 'cygwin': - return False - return True - def check_for_stampfile(fname): '''Some languages e.g. Rust have output files whose names are not known at configure time. @@ -372,7 +366,7 @@ def install_targets(d): print("Symlink creation does not work on this platform. " "Skipping all symlinking.") printed_symlink_error = True - if is_elf_platform() and os.path.isfile(outname): + if os.path.isfile(outname): try: depfixer.fix_rpath(outname, install_rpath, False) except SystemExit as e: |