1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-22 13:34:15 +03:00

talloc: fix waf build for libtalloc-compat1

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
This commit is contained in:
Stefan Metzmacher 2010-10-27 02:56:10 +02:00
parent 073d3bf1fc
commit 4c634a3b2e

View 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)