build: LIBLDB alias
authorAndrew Tridgell <tridge@samba.org>
Mon, 22 Feb 2010 21:38:18 +0000 (08:38 +1100)
committerAndrew Tridgell <tridge@samba.org>
Tue, 6 Apr 2010 10:26:35 +0000 (20:26 +1000)
source4/lib/ldb/wscript

index 0c06ebbf6b3fe58ef94ad6c12f361427a667dc63..be31241c88ad16053100a8e806e850fdfa43d751 100644 (file)
@@ -47,3 +47,11 @@ def build(bld):
                          'tools/%s.c tools/ldbutil.c tools/cmdline.c' % t,
                          deps='ldb',
                          syslibs='dl popt')
+
+    # this is a temporary fix for the fact that some
+    # of the scripts call it 'ldb' and some 'LIBLDB'
+    bld.SAMBA_LIBRARY('LIBLDB',
+                     LDB_TDB_SRC + ' ' + COMMON_SRC + ' ' + MODULES_SRC,
+                     deps='tdb tevent',
+                     include_list='include',
+                      vnum=VERSION)