talloc: fix waf build for libtalloc-compat1
authorStefan Metzmacher <metze@samba.org>
Wed, 27 Oct 2010 00:56:10 +0000 (02:56 +0200)
committerStefan Metzmacher <metze@samba.org>
Wed, 27 Oct 2010 03:53:21 +0000 (03:53 +0000)
We need to use 'libtalloc.so.1' as soname, otherwise the
compat library is useless.

metze

Autobuild-User: Stefan Metzmacher <metze@samba.org>
Autobuild-Date: Wed Oct 27 03:53:21 UTC 2010 on sn-devel-104

lib/talloc/wscript

index 6da1a66783e99893b5abe1e0baedf6bd91982bcc..4e5131c01535041da4e516cf02cdfc1dabc4d145 100644 (file)
@@ -80,11 +80,11 @@ def build(bld):
         vnum = VERSION
 
         # should we also install the symlink to libtalloc1.so here?
-        bld.SAMBA_LIBRARY('talloc-compat1',
+        bld.SAMBA_LIBRARY('talloc-compat1-%s' % (VERSION),
                           'compat/talloc_compat1.c',
-                          deps='talloc',
-                          enabled=bld.env.TALLOC_COMPAT1,
-                          vnum=VERSION)
+                          public_deps='talloc',
+                          soname='libtalloc.so.1',
+                          enabled=bld.env.TALLOC_COMPAT1)
 
         if not bld.env.disable_python:
             bld.PKG_CONFIG_FILES('pytalloc-util.pc', vnum=VERSION)