build: LIBLDB alias
[nivanova/samba-autobuild/.git] / 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)