diff options
Diffstat (limited to 'source4/lib')
-rw-r--r-- | source4/lib/ldb/wscript | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/source4/lib/ldb/wscript b/source4/lib/ldb/wscript index 18a9f4c271..de70fa454a 100644 --- a/source4/lib/ldb/wscript +++ b/source4/lib/ldb/wscript @@ -9,6 +9,7 @@ import sys sys.path.insert(0, srcdir+"/buildtools/wafsamba") import wafsamba + LIBTDB_DIR= srcdir + '/lib/tdb' LIBTEVENT_DIR= srcdir + '/lib/tevent' LIBPOPT_DIR= srcdir + '/lib/popt' @@ -141,12 +142,14 @@ def build(bld): ldb_deps += ' LDBSAMBA POPT_CREDENTIALS POPT_SAMBA LIBCMDLINE_CREDENTIALS gensec' if not bld.CONFIG_SET('USING_SYSTEM_LDB'): + modules_dir = bld.EXPAND_VARIABLES('${LDB_MODULESDIR}') bld.SAMBA_LIBRARY('ldb', COMMON_SRC + ' ' + LDB_MAP_SRC, deps=ldb_deps, includes='include', public_headers='include/ldb.h include/ldb_errors.h', pc_files='ldb.pc', + cflags='-DLDB_MODULESDIR=\"%s\"' % modules_dir, vnum=VERSION) bld.SAMBA_SUBSYSTEM('LIBLDB_CMDLINE', |