diff options
author | Andrew Tridgell <tridge@samba.org> | 2010-03-17 20:32:15 +1100 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2010-04-06 20:26:34 +1000 |
commit | 2b5a1cc70cbc5bafe6183300b131d95505c03b36 (patch) | |
tree | fdcb0321be5cfd39d13b0a03cfdbf4394e7ac7bc /lib/replace/wscript | |
parent | 635a7ce6c1dfbfa2fd9ccefa0253a0a846a29f94 (diff) | |
download | samba-2b5a1cc70cbc5bafe6183300b131d95505c03b36.tar.gz samba-2b5a1cc70cbc5bafe6183300b131d95505c03b36.tar.bz2 samba-2b5a1cc70cbc5bafe6183300b131d95505c03b36.zip |
build: added waf build rules for ldb
Diffstat (limited to 'lib/replace/wscript')
-rw-r--r-- | lib/replace/wscript | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/lib/replace/wscript b/lib/replace/wscript index c2e545f882..5c1975bf5f 100644 --- a/lib/replace/wscript +++ b/lib/replace/wscript @@ -1,5 +1,5 @@ -srcdir = '.' -blddir = 'build' +srcdir = '../..' +blddir = 'bin' import Options, os, wafsamba @@ -89,6 +89,7 @@ def configure(conf): conf.CHECK_FUNCS('timegm getifaddrs freeifaddrs') conf.CHECK_FUNCS_IN('dlopen dlsym dlerror dlclose', 'dl') + conf.CHECK_FUNCS_IN('poptGetContext', 'popt') conf.check_cc(fragment=''' #include <stdarg.h> @@ -153,6 +154,8 @@ def build(bld): REPLACE_SOURCE = 'replace.c snprintf.c' + bld.SAMBA_BUILD_ENV() + bld.SAMBA_LIBRARY('replace', REPLACE_SOURCE) |