aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild/backend/ninjabackend.py
diff options
context:
space:
mode:
authorNirbheek Chauhan <nirbheek@centricular.com>2017-06-11 14:32:39 +0530
committerNirbheek Chauhan <nirbheek@centricular.com>2017-06-11 14:32:39 +0530
commitd38f3deaed52e592d9915e1b7970988ccb28eb7f (patch)
tree02b7c7d5d3be243476886513ef10af1dc37f8126 /mesonbuild/backend/ninjabackend.py
parent56462e1439d9dc0730fdb3f2acc619d7c8e484bd (diff)
downloadmeson-d38f3deaed52e592d9915e1b7970988ccb28eb7f.zip
meson-d38f3deaed52e592d9915e1b7970988ccb28eb7f.tar.gz
meson-d38f3deaed52e592d9915e1b7970988ccb28eb7f.tar.bz2
gnome: Work around GNU ld bug with -rpath,$ORIGIN
g-ir-scanner doesn't understand -rpath, so we use -L instead which has the same effect. Closes https://github.com/mesonbuild/meson/issues/1911
Diffstat (limited to 'mesonbuild/backend/ninjabackend.py')
-rw-r--r--mesonbuild/backend/ninjabackend.py9
1 files changed, 0 insertions, 9 deletions
diff --git a/mesonbuild/backend/ninjabackend.py b/mesonbuild/backend/ninjabackend.py
index 40a05bf..8a2ee9a 100644
--- a/mesonbuild/backend/ninjabackend.py
+++ b/mesonbuild/backend/ninjabackend.py
@@ -2334,15 +2334,6 @@ rule FORTRAN_DEP_HACK
elem.add_item('LINK_ARGS', commands)
return elem
- def determine_rpath_dirs(self, target):
- link_deps = target.get_all_link_deps()
- result = []
- for ld in link_deps:
- prospective = self.get_target_dir(ld)
- if prospective not in result:
- result.append(prospective)
- return result
-
def get_dependency_filename(self, t):
if isinstance(t, build.SharedLibrary):
return os.path.join(self.get_target_private_dir(t), self.get_target_filename(t) + '.symbols')