aboutsummaryrefslogtreecommitdiff
path: root/dependencies.py
diff options
context:
space:
mode:
authorThibault Saunier <tsaunier@gnome.org>2015-12-10 17:47:09 +0100
committerThibault Saunier <tsaunier@gnome.org>2015-12-10 18:14:43 +0100
commitc2e163e655e0307787bfb2cba6f9018de2583fcd (patch)
treefd8fb02c339b0b03f147c1d919a244a96309aaf1 /dependencies.py
parent0585a959d3bc7e71c896d53ed4f9c74ba49f4825 (diff)
downloadmeson-c2e163e655e0307787bfb2cba6f9018de2583fcd.zip
meson-c2e163e655e0307787bfb2cba6f9018de2583fcd.tar.gz
meson-c2e163e655e0307787bfb2cba6f9018de2583fcd.tar.bz2
gnome: Link against dependencies when building the gir files
Diffstat (limited to 'dependencies.py')
-rw-r--r--dependencies.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/dependencies.py b/dependencies.py
index 492fee0..87c1ba1 100644
--- a/dependencies.py
+++ b/dependencies.py
@@ -71,6 +71,7 @@ class PkgConfigDependency(Dependency):
def __init__(self, name, environment, kwargs):
Dependency.__init__(self)
+ self.is_libtool = False
self.required = kwargs.get('required', True)
if 'native' in kwargs and environment.is_cross_build():
want_cross = not kwargs['native']
@@ -150,6 +151,7 @@ class PkgConfigDependency(Dependency):
'but we could not compute the actual shared'
'library path' % lib)
lib = shared_lib
+ self.is_libtool = True
self.libs.append(lib)