summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2010-05-31 02:43:17 +0200
committerJelmer Vernooij <jelmer@samba.org>2010-05-31 03:28:42 +0200
commit3858b5db8be50dda5d994ecc8863b32a150a2528 (patch)
tree48b8f4739c46dad9dce4799386f5d01a45b3f726 /lib
parent17ad28c5826590a973fe1f0e1c6be0d18f1ec458 (diff)
downloadsamba-3858b5db8be50dda5d994ecc8863b32a150a2528.tar.gz
samba-3858b5db8be50dda5d994ecc8863b32a150a2528.tar.xz
samba-3858b5db8be50dda5d994ecc8863b32a150a2528.zip
s4-waf: sanitize library names like the old build system did, only add
-samba4 suffix for libraries that are bundled.
Diffstat (limited to 'lib')
-rw-r--r--lib/popt/wscript3
-rw-r--r--lib/talloc/wscript4
-rw-r--r--lib/tdb/wscript2
-rw-r--r--lib/tevent/wscript3
4 files changed, 7 insertions, 5 deletions
diff --git a/lib/popt/wscript b/lib/popt/wscript
index 425402ebe73..7d236dd3365 100644
--- a/lib/popt/wscript
+++ b/lib/popt/wscript
@@ -14,5 +14,6 @@ def build(bld):
bld.SAMBA_LIBRARY('popt',
source='findme.c popt.c poptconfig.c popthelp.c poptparse.c',
- cflags='-DDBL_EPSILON=__DBL_EPSILON__'
+ cflags='-DDBL_EPSILON=__DBL_EPSILON__',
+ is_bundled=True,
)
diff --git a/lib/talloc/wscript b/lib/talloc/wscript
index 3a875060d76..61930f67e38 100644
--- a/lib/talloc/wscript
+++ b/lib/talloc/wscript
@@ -60,14 +60,14 @@ def build(bld):
abi_file='ABI/talloc-%s.sigs' % VERSION,
abi_match='talloc* _talloc*',
hide_symbols=True,
- vnum=VERSION)
+ vnum=VERSION, is_bundled=True)
# should we also install the symlink to libtalloc1.so here?
bld.SAMBA_LIBRARY('talloc-compat1',
'compat/talloc_compat1.c',
deps='talloc',
enabled = bld.env.TALLOC_COMPAT1,
- vnum=VERSION)
+ vnum=VERSION, is_bundled=True)
if not getattr(bld.env, '_SAMBA_BUILD_', 0) == 4:
# s4 already has the talloc testsuite builtin to smbtorture
diff --git a/lib/tdb/wscript b/lib/tdb/wscript
index 70eb8cf5d05..084be40c8ff 100644
--- a/lib/tdb/wscript
+++ b/lib/tdb/wscript
@@ -69,7 +69,7 @@ def build(bld):
abi_file='ABI/tdb-%s.sigs' % VERSION,
abi_match='tdb_*',
hide_symbols=True,
- vnum=VERSION)
+ vnum=VERSION, is_bundled=not bld.env.standalone_tdb)
bld.SAMBA_BINARY('tdbtorture',
'tools/tdbtorture.c',
diff --git a/lib/tevent/wscript b/lib/tevent/wscript
index e61133c2dc4..46ac62066f8 100644
--- a/lib/tevent/wscript
+++ b/lib/tevent/wscript
@@ -57,7 +57,8 @@ def build(bld):
enabled= not bld.CONFIG_SET('USING_SYSTEM_TEVENT'),
abi_file='ABI/tevent-%s.sigs' % VERSION,
abi_match='tevent_* _tevent_*',
- vnum=VERSION)
+ vnum=VERSION,
+ is_bundled=not bld.env.standalone_tevent)
if bld.env.standalone_tevent:
bld.env.PKGCONFIGDIR = '${LIBDIR}/pkgconfig'