replace: Avoid hiding symbols when libreplace is builtin, as this
authorJelmer Vernooij <jelmer@samba.org>
Fri, 18 Jun 2010 20:43:17 +0000 (22:43 +0200)
committerJelmer Vernooij <jelmer@samba.org>
Fri, 18 Jun 2010 21:51:40 +0000 (23:51 +0200)
appears to cause unresolved symbols at the moment.

lib/replace/wscript

index 57739124e93843af4ec93024ab06402a9f00001b..9cdfd7f344df125fba1c3ced5058b9b7c9b88ab2 100644 (file)
@@ -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