summaryrefslogtreecommitdiff
path: root/libs/ardour/wscript
diff options
context:
space:
mode:
authorTim Mayberry <mojofunk@gmail.com>2013-10-20 09:27:35 +1000
committerTim Mayberry <mojofunk@gmail.com>2013-10-20 09:27:35 +1000
commitb97ab7d7bc0af68c1079a192b3c7924cbe61936e (patch)
tree69d4e8058888c3eebee3127c3f68d7ead85488b4 /libs/ardour/wscript
parentf85c67501c2bef578eeb53741d0dfecaa0c723df (diff)
Statically link libtimecode into libmidi++ instead of libardour
This is necessary to get the libmidi++ test to work as libmidi++ has unresolved symbols in libtimecode. This was not a problem when libtimecode was statically linked into libardour if the executable depended on both libtimecode and libardour as the symbols would get resolved. This is not true for the midi++ test case as it doesn't depend on libardour Also as libmidi++ only references symbols from one object file in the libtimecode static archive only that object file gets included/exported from libmidi++. This is fixed by adding a dummy reference to a symbol in the other object file in the libtimecode static archive.
Diffstat (limited to 'libs/ardour/wscript')
-rw-r--r--libs/ardour/wscript2
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/ardour/wscript b/libs/ardour/wscript
index 33351bd8b1..82a4af6388 100644
--- a/libs/ardour/wscript
+++ b/libs/ardour/wscript
@@ -341,7 +341,7 @@ def build(bld):
'OSX','BOOST','CURL','DL']
obj.use = ['libpbd','libmidipp','libevoral','libvamphost',
'libvampplugin','libtaglib','librubberband',
- 'libaudiographer', 'ltc', 'timecode' ]
+ 'libaudiographer', 'ltc', 'timecode_includes' ]
obj.vnum = LIBARDOUR_LIB_VERSION
obj.install_path = os.path.join(bld.env['LIBDIR'], 'ardour3')
obj.defines += [