From ea225662aebf17ff5c473e705d659ce2a6e499af Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sat, 22 Oct 2011 00:32:47 +0000 Subject: Fix building against local libraries git-svn-id: http://svn.drobilla.net/autowaf@58 e2e4594f-ea7b-45dc-bc5a-5f5301e603aa --- autowaf.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'autowaf.py') 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 -- cgit v1.2.1