mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-15 19:16:40 +01:00
initial, prototype modifications to permit compilation of local libraries as static libs. required a "fix" to libs/pbd/debug.cc to even get the program up and running, and still does not work due to issues with boost::shared_ptr::enable_shared_from_this. controlled by configure-time --internal-{static,shared}-libs, set to shared by default (as has been the case for years)
This commit is contained in:
parent
4caecfa310
commit
16ce39c230
6 changed files with 104 additions and 76 deletions
|
|
@ -1,5 +1,6 @@
|
|||
#!/usr/bin/env python
|
||||
from waflib.extras import autowaf as autowaf
|
||||
from waflib import Options
|
||||
import os
|
||||
|
||||
# Version of this package (even if built as a child)
|
||||
|
|
@ -82,14 +83,18 @@ def configure(conf):
|
|||
|
||||
|
||||
def build(bld):
|
||||
obj = bld(features = 'c cxx cxxshlib cshlib')
|
||||
obj.source = gtkmm2ext_sources
|
||||
if bld.is_defined ('INTERNAL_SHARED_LIBS'):
|
||||
obj = bld.shlib(features = 'c cxx cshlib cxxshlib', source=gtkmm2ext_sources)
|
||||
else:
|
||||
obj = bld.stlib(features = 'c cxx cstlib cxxstlib', source=gtkmm2ext_sources)
|
||||
obj.cxxflags = [ '-fPIC' ]
|
||||
|
||||
obj.export_includes = ['.']
|
||||
obj.includes = ['.']
|
||||
obj.name = 'libgtkmm2ext'
|
||||
obj.target = 'gtkmm2ext'
|
||||
obj.uselib = 'GTKMM GTK GTKOSX OSX GDK'
|
||||
obj.use = 'libpbd'
|
||||
obj.use = [ 'libpbd' ]
|
||||
obj.vnum = GTKMM2EXT_LIB_VERSION
|
||||
obj.install_path = os.path.join(bld.env['LIBDIR'], 'ardour3')
|
||||
obj.defines = [
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue