summaryrefslogtreecommitdiffstats
path: root/autowaf.py
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2011-10-22 00:32:47 +0000
committerDavid Robillard <d@drobilla.net>2011-10-22 00:32:47 +0000
commitea225662aebf17ff5c473e705d659ce2a6e499af (patch)
tree952e8cf87d13c2cb55d8fee2b82ba9f2fe321aa3 /autowaf.py
parent25eba1b66b9a68fbaaef6718d05d0a2d764f2c37 (diff)
downloadautowaf-ea225662aebf17ff5c473e705d659ce2a6e499af.tar.gz
autowaf-ea225662aebf17ff5c473e705d659ce2a6e499af.tar.bz2
autowaf-ea225662aebf17ff5c473e705d659ce2a6e499af.zip
Fix building against local libraries
git-svn-id: http://svn.drobilla.net/autowaf@58 e2e4594f-ea7b-45dc-bc5a-5f5301e603aa
Diffstat (limited to 'autowaf.py')
-rw-r--r--autowaf.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/autowaf.py b/autowaf.py
index ce0ec86..df93332 100644
--- a/autowaf.py
+++ b/autowaf.py
@@ -114,6 +114,8 @@ def define(conf, var_name, value):
def check_pkg(conf, name, **args):
"Check for a package iff it hasn't been checked for yet"
+ if args['uselib_store'].lower() in conf.env['AUTOWAF_LOCAL_LIBS']:
+ return
class CheckType:
OPTIONAL=1
MANDATORY=2