aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild/backend/backends.py
diff options
context:
space:
mode:
authorJussi Pakkanen <jpakkane@gmail.com>2017-11-12 23:31:45 +0200
committerJussi Pakkanen <jpakkane@gmail.com>2017-11-26 17:34:01 +0200
commitfa6f01d096fbf3d84d68070d6592cd8d5b761e1b (patch)
treefcf1cde46fafacf70fcd720497166315fb1bc4dd /mesonbuild/backend/backends.py
parent655137a74b366a3c03df24cedeafa747787f15f5 (diff)
downloadmeson-fa6f01d096fbf3d84d68070d6592cd8d5b761e1b.zip
meson-fa6f01d096fbf3d84d68070d6592cd8d5b761e1b.tar.gz
meson-fa6f01d096fbf3d84d68070d6592cd8d5b761e1b.tar.bz2
Use absolute paths for rpaths on OSX.
Diffstat (limited to 'mesonbuild/backend/backends.py')
-rw-r--r--mesonbuild/backend/backends.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/mesonbuild/backend/backends.py b/mesonbuild/backend/backends.py
index 61f7535..33d779a 100644
--- a/mesonbuild/backend/backends.py
+++ b/mesonbuild/backend/backends.py
@@ -330,6 +330,8 @@ class Backend:
link_deps = target.get_all_link_deps()
result = []
for ld in link_deps:
+ if ld is target:
+ continue
prospective = self.get_target_dir(ld)
if prospective not in result:
result.append(prospective)