From 57f2f1d72a70a80e61a2ed6f1abc63a177a590ab Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Thu, 9 Dec 2010 21:58:20 +1100 Subject: waf: remove the restriction that private libraries must not have a vnum we need the vnum for ABI checking for public libraries built as private libraries when bundled Autobuild-User: Andrew Tridgell Autobuild-Date: Thu Dec 9 12:47:41 CET 2010 on sn-devel-104 --- lib/talloc/wscript | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'lib/talloc/wscript') diff --git a/lib/talloc/wscript b/lib/talloc/wscript index 3d359c1281..a23532a189 100644 --- a/lib/talloc/wscript +++ b/lib/talloc/wscript @@ -76,7 +76,6 @@ def build(bld): bld.PKG_CONFIG_FILES('talloc.pc', vnum=VERSION) bld.INSTALL_FILES('${INCLUDEDIR}', 'talloc.h') private_library = False - vnum = VERSION # should we also install the symlink to libtalloc1.so here? bld.SAMBA_LIBRARY('talloc-compat1-%s' % (VERSION), @@ -89,7 +88,6 @@ def build(bld): bld.PKG_CONFIG_FILES('pytalloc-util.pc', vnum=VERSION) else: private_library = True - vnum = None if not bld.CONFIG_SET('USING_SYSTEM_TALLOC'): @@ -99,7 +97,7 @@ def build(bld): abi_directory='ABI', abi_match='talloc* _talloc*', hide_symbols=True, - vnum=vnum, + vnum=VERSION, private_library=private_library, manpages='talloc.3') @@ -111,7 +109,7 @@ def build(bld): abi_directory='ABI', abi_match='py* Py*', pyext=True, - vnum=vnum, + vnum=VERSION, private_library=private_library, ) bld.INSTALL_FILES('${INCLUDEDIR}', 'pytalloc.h') -- cgit