summaryrefslogtreecommitdiff
path: root/lib/replace/wscript
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2010-06-18 22:43:17 +0200
committerJelmer Vernooij <jelmer@samba.org>2010-06-18 23:51:40 +0200
commitf2527d217cbc7f64259d00c63a549a3119a4ed66 (patch)
tree0cf2b67e201f5d771f8e45ee9f61043726feb252 /lib/replace/wscript
parent380ee5f081d4525c5c308ec203864b07c3cf36a1 (diff)
downloadsamba-f2527d217cbc7f64259d00c63a549a3119a4ed66.tar.gz
samba-f2527d217cbc7f64259d00c63a549a3119a4ed66.tar.bz2
samba-f2527d217cbc7f64259d00c63a549a3119a4ed66.zip
replace: Avoid hiding symbols when libreplace is builtin, as this
appears to cause unresolved symbols at the moment.
Diffstat (limited to 'lib/replace/wscript')
-rw-r--r--lib/replace/wscript6
1 files changed, 5 insertions, 1 deletions
diff --git a/lib/replace/wscript b/lib/replace/wscript
index 57739124e9..9cdfd7f344 100644
--- a/lib/replace/wscript
+++ b/lib/replace/wscript
@@ -364,7 +364,11 @@ def build(bld):
bld.SAMBA_LIBRARY('replace',
source=REPLACE_SOURCE,
group='base_libraries',
- hide_symbols=bld.BUILTIN_LIBRARY('replace'),
+ # FIXME: Ideally symbols should be hidden here so they
+ # don't appear in the global namespace when Samba
+ # libraries are loaded, but this doesn't appear to work
+ # at the moment:
+ # hide_symbols=bld.BUILTIN_LIBRARY('replace'),
deps='crypt dl nsl socket')
TEST_SOURCES = '''test/testsuite.c test/main.c test/strptime.c