diff options
author | Günther Deschner <gd@samba.org> | 2011-02-18 15:33:25 +0100 |
---|---|---|
committer | Günther Deschner <gd@samba.org> | 2011-02-18 15:34:27 +0100 |
commit | a2f4a17b5e005afa1a8b15921e81c42cda6bcec0 (patch) | |
tree | acf8d4d8b47bdc9c349163b4ec95c0644a18a3fa | |
parent | 1ad8e5229f618fc04af371ba52b81f2e7e1f88f5 (diff) | |
download | samba-a2f4a17b5e005afa1a8b15921e81c42cda6bcec0.tar.gz samba-a2f4a17b5e005afa1a8b15921e81c42cda6bcec0.tar.xz samba-a2f4a17b5e005afa1a8b15921e81c42cda6bcec0.zip |
s3-waf: fix popt support.
Guenther
-rw-r--r-- | buildtools/wafsamba/samba3.py | 3 | ||||
-rw-r--r-- | source3/wscript | 2 |
2 files changed, 5 insertions, 0 deletions
diff --git a/buildtools/wafsamba/samba3.py b/buildtools/wafsamba/samba3.py index 6759450f605..9344e55e87e 100644 --- a/buildtools/wafsamba/samba3.py +++ b/buildtools/wafsamba/samba3.py @@ -72,6 +72,9 @@ def s3_fix_kwargs(bld, kwargs): if not bld.CONFIG_SET('USING_SYSTEM_TALLOC'): extra_includes += [ '../lib/talloc' ] + if not bld.CONFIG_SET('USING_SYSTEM_POPT'): + extra_includes += [ '../lib/popt' ] + # s3 builds assume that they will have a bunch of extra include paths includes = [] for d in extra_includes: diff --git a/source3/wscript b/source3/wscript index 7c01e8fcce2..f248c2f187d 100644 --- a/source3/wscript +++ b/source3/wscript @@ -93,6 +93,8 @@ def configure(conf): conf.ADD_EXTRA_INCLUDES('#lib/tevent') if not conf.env.USING_SYSTEM_TALLOC: conf.ADD_EXTRA_INCLUDES('#lib/talloc') + if not conf.env.USING_SYSTEM_POPT: + conf.ADD_EXTRA_INCLUDES('#lib/popt') conf.ADD_LDFLAGS("-Wl,--export-dynamic", testflags=True) |