aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild/linkers.py
diff options
context:
space:
mode:
authorJussi Pakkanen <jpakkane@gmail.com>2017-07-15 05:33:03 -0400
committerJussi Pakkanen <jpakkane@gmail.com>2017-07-21 19:40:54 +0300
commit2269b7f60b2443aa697a5616fcc3692fa3496046 (patch)
tree085e2a1b2dd75a46f0d5d837d8d039f93656ed83 /mesonbuild/linkers.py
parent381e8313ed191ae8e440a9ba3805d5322c769ea7 (diff)
downloadmeson-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/linkers.py')
-rw-r--r--mesonbuild/linkers.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/mesonbuild/linkers.py b/mesonbuild/linkers.py
index d0d5184..e0554e0 100644
--- a/mesonbuild/linkers.py
+++ b/mesonbuild/linkers.py
@@ -45,7 +45,7 @@ class VisualStudioLinker(StaticLinker):
def get_linker_always_args(self):
return VisualStudioLinker.always_args
- def build_rpath_args(self, build_dir, from_dir, rpath_paths, install_rpath):
+ def build_rpath_args(self, build_dir, from_dir, rpath_paths, build_rpath, install_rpath):
return []
def thread_link_flags(self):
@@ -76,7 +76,7 @@ class ArLinker(StaticLinker):
else:
self.std_args = ['csr']
- def build_rpath_args(self, build_dir, from_dir, rpath_paths, install_rpath):
+ def build_rpath_args(self, build_dir, from_dir, rpath_paths, build_rpath, install_rpath):
return []
def get_exelist(self):