move -fvisibility=hidden to the top of the source tree, and remove its internal use; use libtimecode as a shared lib again

This commit is contained in:
Paul Davis 2014-01-12 11:34:37 -05:00
parent 2c21cbb044
commit 5062a00c7d
8 changed files with 14 additions and 17 deletions

View file

@ -29,8 +29,6 @@ def build(bld):
obj = bld.shlib(features = 'c cxx cshlib cxxshlib', source=controlcp_sources)
# defines for this library
obj.defines = [ 'LIBCONTROLCP_DLL_EXPORTS' ]
obj.cxxflags = [ '-fvisibility=hidden' ]
obj.cflags = [ '-fvisibility=hidden' ]
else:
obj = bld.stlib(features = 'c cxx cstlib cxxstlib', source=controlcp_sources)
obj.cxxflags = [ '-fPIC' ]