From 2269b7f60b2443aa697a5616fcc3692fa3496046 Mon Sep 17 00:00:00 2001 From: Jussi Pakkanen Date: Sat, 15 Jul 2017 05:33:03 -0400 Subject: Add build_rpath as new property allowing people to specify rpath entries that are used in the build tree but will be removed on install. --- mesonbuild/backend/ninjabackend.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'mesonbuild/backend') diff --git a/mesonbuild/backend/ninjabackend.py b/mesonbuild/backend/ninjabackend.py index 7f974ee..b134510 100644 --- a/mesonbuild/backend/ninjabackend.py +++ b/mesonbuild/backend/ninjabackend.py @@ -1211,6 +1211,7 @@ int dummy; rpath_args = rustc.build_rpath_args(self.environment.get_build_dir(), target_slashname_workaround_dir, self.determine_rpath_dirs(target), + target.build_rpath, target.install_rpath) # ... but then add rustc's sysroot to account for rustup # installations @@ -2387,6 +2388,7 @@ rule FORTRAN_DEP_HACK commands += linker.build_rpath_args(self.environment.get_build_dir(), target_slashname_workaround_dir, self.determine_rpath_dirs(target), + target.build_rpath, target.install_rpath) # Add libraries generated by custom targets custom_target_libraries = self.get_custom_target_provided_libraries(target) -- cgit v1.1