aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Hostettler <textshell@uchuujin.de>2018-02-18 17:40:47 +0100
committerJussi Pakkanen <jpakkane@gmail.com>2018-02-21 19:10:16 +0200
commit1e82416a938a962ed626f9f628dd0f89d49d05a8 (patch)
tree16afc75eaed915f01eb080e73d10df1856333317
parentd0f2f0ad3b2ceff10f7dfec2ce64cc58e1dc9262 (diff)
downloadmeson-1e82416a938a962ed626f9f628dd0f89d49d05a8.zip
meson-1e82416a938a962ed626f9f628dd0f89d49d05a8.tar.gz
meson-1e82416a938a962ed626f9f628dd0f89d49d05a8.tar.bz2
Generate build rpath for pkg-config dependencies consisting of a one absolute path
-rw-r--r--mesonbuild/backend/backends.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/mesonbuild/backend/backends.py b/mesonbuild/backend/backends.py
index 62cc756..b547bc3 100644
--- a/mesonbuild/backend/backends.py
+++ b/mesonbuild/backend/backends.py
@@ -312,7 +312,7 @@ class Backend:
def rpaths_for_bundled_shared_libraries(self, target):
paths = []
for dep in target.external_deps:
- if isinstance(dep, dependencies.ExternalLibrary):
+ if isinstance(dep, (dependencies.ExternalLibrary, dependencies.PkgConfigDependency)):
la = dep.link_args
if len(la) == 1 and os.path.isabs(la[0]):
# The only link argument is an absolute path to a library file.