diff options
author | Jussi Pakkanen <jpakkane@gmail.com> | 2017-07-15 05:33:03 -0400 |
---|---|---|
committer | Jussi Pakkanen <jpakkane@gmail.com> | 2017-07-21 19:40:54 +0300 |
commit | 2269b7f60b2443aa697a5616fcc3692fa3496046 (patch) | |
tree | 085e2a1b2dd75a46f0d5d837d8d039f93656ed83 /mesonbuild/backend/ninjabackend.py | |
parent | 381e8313ed191ae8e440a9ba3805d5322c769ea7 (diff) | |
download | meson-2269b7f60b2443aa697a5616fcc3692fa3496046.zip meson-2269b7f60b2443aa697a5616fcc3692fa3496046.tar.gz meson-2269b7f60b2443aa697a5616fcc3692fa3496046.tar.bz2 |
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.
Diffstat (limited to 'mesonbuild/backend/ninjabackend.py')
-rw-r--r-- | mesonbuild/backend/ninjabackend.py | 2 |
1 files changed, 2 insertions, 0 deletions
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) |