summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/popt/wscript2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/popt/wscript b/lib/popt/wscript
index 6aa8e70339..7fd15ed53a 100644
--- a/lib/popt/wscript
+++ b/lib/popt/wscript
@@ -5,7 +5,7 @@ import Options
def configure(conf):
conf.CHECK_HEADERS('float.h')
- if conf.CHECK_BUNDLED_SYSTEM_PKG('popt'):
+ if conf.CHECK_BUNDLED_SYSTEM('popt', checkfunctions='poptGetContext', headers='popt.h'):
conf.define('USING_SYSTEM_POPT', 1)
def build(bld):