diff options
Diffstat (limited to 'buildtools/wafsamba')
-rw-r--r-- | buildtools/wafsamba/samba3.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/buildtools/wafsamba/samba3.py b/buildtools/wafsamba/samba3.py index 7f05ffe40d..b6a9f1bd3f 100644 --- a/buildtools/wafsamba/samba3.py +++ b/buildtools/wafsamba/samba3.py @@ -92,6 +92,12 @@ def s3_fix_kwargs(bld, kwargs): else: extra_includes += [ '../lib/popt' ] + if bld.CONFIG_SET('USING_SYSTEM_INIPARSER'): + (iniparser_includes, iniparser_ldflags, iniparser_cpppath) = library_flags(bld, 'iniparser') + extra_includes += iniparser_cpppath + else: + extra_includes += [ '../lib/iniparser' ] + # s3 builds assume that they will have a bunch of extra include paths includes = [] for d in extra_includes: |