From: Andrew Tridgell Date: Sat, 27 Mar 2010 10:29:42 +0000 (+1100) Subject: s4-waf: ensure all the ldb.pc.in vars are set X-Git-Tag: samba-3.6.0pre1~3383 X-Git-Url: http://git.samba.org/?p=samba.git;a=commitdiff_plain;h=cf77a1025c2158173414e3d2408b0a20fbeb65be s4-waf: ensure all the ldb.pc.in vars are set --- diff --git a/source4/lib/ldb/wscript b/source4/lib/ldb/wscript index 6ea68976f9e..58b3e4b93a8 100644 --- a/source4/lib/ldb/wscript +++ b/source4/lib/ldb/wscript @@ -99,6 +99,14 @@ def build(bld): enabled=s4_build, subsystem='LIBLDB') + # we're not currently linking against the ldap libs, but ldb.pc.in + # has @LDAP_LIBS@ + bld.env.LDAP_LIBS = '' + + if not 'PACKAGE_VERSION' in bld.env: + bld.env.PACKAGE_VERSION = VERSION + bld.env.PKGCONFIGDIR = '${LIBDIR}/pkgconfig' + ldb_deps = 'tevent LIBLDB' if s4_build: ldb_deps += ' LDBSAMBA POPT_CREDENTIALS POPT_SAMBA LIBCMDLINE_CREDENTIALS gensec' @@ -126,3 +134,4 @@ def build(bld): bld.SAMBA_PYTHON('pyldb', 'pyldb.c', deps='ldb', realname='ldb.so') +