2017-09-13 14:50:02 +02:00
|
|
|
This patch removes a part of meson that clears the rpath upon installation.
|
|
|
|
This will only be applied to a special version of meson, used for the
|
|
|
|
meson-build-system.
|
|
|
|
|
2018-08-13 20:39:08 +02:00
|
|
|
Original patch for Meson 0.42.0 by Peter Mikkelsen <petermikkelsen10@gmail.com>
|
2017-09-13 14:50:02 +02:00
|
|
|
|
2018-08-10 16:00:22 +02:00
|
|
|
--- meson-0.47.1/mesonbuild/minstall.py.old 2018-08-10 11:01:27.812327013 +0200
|
|
|
|
+++ meson-0.47.1/mesonbuild/minstall.py 2018-08-10 11:01:51.940368505 +0200
|
|
|
|
@@ -436,15 +436,6 @@
|
|
|
|
print("Symlink creation does not work on this platform. "
|
|
|
|
"Skipping all symlinking.")
|
|
|
|
printed_symlink_error = True
|
|
|
|
- if os.path.isfile(outname):
|
|
|
|
- try:
|
|
|
|
- depfixer.fix_rpath(outname, install_rpath, final_path,
|
|
|
|
- install_name_mappings, verbose=False)
|
|
|
|
- except SystemExit as e:
|
|
|
|
- if isinstance(e.code, int) and e.code == 0:
|
|
|
|
- pass
|
|
|
|
- else:
|
|
|
|
- raise
|
|
|
|
|
2017-09-13 14:50:02 +02:00
|
|
|
def run(args):
|
2018-08-10 16:00:22 +02:00
|
|
|
parser = buildparser()
|