mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-06 23:05:04 +01:00
add -fvisibility=hidden to libpbd, and make things work
This commit is contained in:
parent
98c93ee53e
commit
2eabeebdc5
3 changed files with 16 additions and 12 deletions
|
|
@ -117,11 +117,13 @@ def build(bld):
|
|||
obj.defines = [ 'LIBPBD_DLL=1',
|
||||
'LIBPBD_DLL_EXPORTS=1'
|
||||
]
|
||||
|
||||
obj.cxxflags = [ '-fvisibility=hidden' ]
|
||||
obj.cflags = [ '-fvisibility=hidden' ]
|
||||
else:
|
||||
print('BUILD STATIC LIB')
|
||||
obj = bld.stlib(features = 'cxx cxxstlib', source=libpbd_sources)
|
||||
obj.cxxflags = [ '-fPIC' ]
|
||||
obj.cflags = [ '-fPIC' ]
|
||||
obj.defines = []
|
||||
|
||||
if bld.is_defined('DEBUG_RT_ALLOC'):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue