blob: 4b1fb57dd44a1b5164b8847d7426899b0e0b98a8 [file] [log] [blame]
Brad Bishopa5c52ff2018-11-23 10:55:50 +13001We need to allow our rpaths generated through the compiler flags to make it into
2our binaries. Therefore disable the meson manipulations of these unless there
3is a specific directive to do something differently in the project.
4
5RP 2018/11/23
6
7Upstream-Status: Submitted [https://github.com/mesonbuild/meson/issues/2567]
8
9Index: meson-0.47.2/mesonbuild/minstall.py
10===================================================================
11--- meson-0.47.2.orig/mesonbuild/minstall.py
12+++ meson-0.47.2/mesonbuild/minstall.py
13@@ -486,8 +486,11 @@ class Installer:
14 printed_symlink_error = True
15 if os.path.isfile(outname):
16 try:
17- depfixer.fix_rpath(outname, install_rpath, final_path,
18- install_name_mappings, verbose=False)
19+ if install_rpath:
20+ depfixer.fix_rpath(outname, install_rpath, final_path,
21+ install_name_mappings, verbose=False)
22+ else:
23+ print("RPATH changes at install time disabled")
24 except SystemExit as e:
25 if isinstance(e.code, int) and e.code == 0:
26 pass