aboutsummaryrefslogtreecommitdiff
path: root/environment.py
diff options
context:
space:
mode:
authorJussi Pakkanen <jpakkane@gmail.com>2015-12-26 20:28:23 +0200
committerJussi Pakkanen <jpakkane@gmail.com>2015-12-28 18:35:41 +0200
commit7e1df7540d519f63b4309b380e69b10ca5bff103 (patch)
treeba210c90a5c74ec81ffeb4bb6d1d5323f1d4cc44 /environment.py
parent5e12c03db6c0bf7b266fc351dc24e13d4e6f737e (diff)
downloadmeson-7e1df7540d519f63b4309b380e69b10ca5bff103.zip
meson-7e1df7540d519f63b4309b380e69b10ca5bff103.tar.gz
meson-7e1df7540d519f63b4309b380e69b10ca5bff103.tar.bz2
Handle custom targets that produce static libraries that are then linked to other targets.
Diffstat (limited to 'environment.py')
-rw-r--r--environment.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/environment.py b/environment.py
index e09f6ae..e905b2f 100644
--- a/environment.py
+++ b/environment.py
@@ -145,6 +145,9 @@ class Environment():
def is_object(self, fname):
return is_object(fname)
+ def is_library(self, fname):
+ return is_library(fname)
+
def merge_options(self, options):
for (name, value) in options.items():
if name not in self.coredata.user_options: