summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2010-03-27 21:29:42 +1100
committerAndrew Tridgell <tridge@samba.org>2010-04-06 20:27:11 +1000
commitcf77a1025c2158173414e3d2408b0a20fbeb65be (patch)
treee43be7f454dc6a32dcbd7d1575fc1bf25a68fc62 /source4
parent9875be5511f0cb930fc02754d9c80be873f728c7 (diff)
downloadsamba-cf77a1025c2158173414e3d2408b0a20fbeb65be.tar.gz
samba-cf77a1025c2158173414e3d2408b0a20fbeb65be.tar.bz2
samba-cf77a1025c2158173414e3d2408b0a20fbeb65be.zip
s4-waf: ensure all the ldb.pc.in vars are set
Diffstat (limited to 'source4')
-rw-r--r--source4/lib/ldb/wscript9
1 files changed, 9 insertions, 0 deletions
diff --git a/source4/lib/ldb/wscript b/source4/lib/ldb/wscript
index 6ea68976f9..58b3e4b93a 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')
+