add -fvisibility=hidden to evoral, and make things work
This commit is contained in:
@@ -90,8 +90,12 @@ def build(bld):
|
||||
# Library
|
||||
if bld.is_defined ('INTERNAL_SHARED_LIBS'):
|
||||
obj = bld.shlib(features = 'c cxx cshlib cxxshlib', source=lib_source)
|
||||
# DLL exports for this library
|
||||
obj.defines = [ 'LIBEVORAL_DLL=1', 'LIBEVORAL_DLL_EXPORTS=1' ]
|
||||
obj.defines = [ 'LIBPBD_DLL=1' ]
|
||||
# DLL imports for other libraries
|
||||
obj.defines += [ 'LIBPBD_DLL=1' ]
|
||||
obj.cxxflags = [ '-fvisibility=hidden' ]
|
||||
obj.cflags = [ '-fvisibility=hidden' ]
|
||||
else:
|
||||
obj = bld.stlib(features = 'c cxx cstlib cxxstlib', source=lib_source)
|
||||
obj.cxxflags = [ '-fPIC' ]
|
||||
|
||||
Reference in New Issue
Block a user