mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-10 23:46:20 +01:00
reverse the visibility.h files assumptions that we don't build shared libs by default
This avoids having to define define LIBFOO_DLL=1 all over the place. If we ever go with static libs we will need to define LIBFOO_STATIC=1 but hopefully in some central location like the top level wscript. Oh, and I also dropped support for gcc older than version 4.x because ardour will already not build on such an old version.
This commit is contained in:
parent
683496c501
commit
f85c67501c
26 changed files with 89 additions and 183 deletions
|
|
@ -28,9 +28,7 @@ def build(bld):
|
|||
if bld.is_defined ('INTERNAL_SHARED_LIBS'):
|
||||
obj = bld.shlib(features = 'c cxx cshlib cxxshlib', source=controlcp_sources)
|
||||
# defines for this library
|
||||
obj.defines = [ 'LIBCONTROLCP_DLL=1', 'LIBCONTROLCP_DLL_EXPORTS=1' ]
|
||||
# internal shared libs that we use
|
||||
obj.defines += [ 'LIBPBD_DLL=1', 'LIBARDOUR_DLL=1', 'LIBEVORAL_DLL=1' ]
|
||||
obj.defines = [ 'LIBCONTROLCP_DLL_EXPORTS=1' ]
|
||||
obj.cxxflags = [ '-fvisibility=hidden' ]
|
||||
obj.cflags = [ '-fvisibility=hidden' ]
|
||||
else:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue