From 683496c501641fb5d7d47bdf9064aed72755ca61 Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Fri, 18 Oct 2013 11:11:59 -0400 Subject: use libltc and libtimecode as static libs, and upgrade to waf 1.7 This is slightly awkward. It is important that we only link once to the static lib. Doing this at executable link time did not work, possibly because waf insisted on putting the two static libraries at the front of the link list. So instead libardour is now the point where linkage to these libraries occurs (and nowhere else). This should never be changed unless the change just moves the linkage point to another location. Also fix a bug with the libardour version tha was picked up by waf 1.7 --- libs/ardour/wscript | 4 ++-- libs/midi++2/wscript | 2 +- libs/surfaces/control_protocol/wscript | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) (limited to 'libs') diff --git a/libs/ardour/wscript b/libs/ardour/wscript index 6fec6ae9d0..838e72279c 100644 --- a/libs/ardour/wscript +++ b/libs/ardour/wscript @@ -317,7 +317,7 @@ def build(bld): # major increment <=> incompatible changes # minor increment <=> compatible changes (additions) # micro increment <=> no interface changes - LIBARDOUR_LIB_VERSION = "3.0.0." + LIBARDOUR_LIB_VERSION = "3.0.0" # Library if bld.is_defined ('INTERNAL_SHARED_LIBS'): @@ -343,7 +343,7 @@ def build(bld): 'OSX','BOOST','CURL','DL'] obj.use = ['libpbd','libmidipp','libevoral','libvamphost', 'libvampplugin','libtaglib','librubberband', - 'libaudiographer','libltc','libtimecode'] + 'libaudiographer', 'ltc', 'timecode' ] obj.vnum = LIBARDOUR_LIB_VERSION obj.install_path = os.path.join(bld.env['LIBDIR'], 'ardour3') obj.defines += [ diff --git a/libs/midi++2/wscript b/libs/midi++2/wscript index e27c4876ee..39a4411dc0 100644 --- a/libs/midi++2/wscript +++ b/libs/midi++2/wscript @@ -77,7 +77,7 @@ def build(bld): obj.name = 'libmidipp' obj.target = 'midipp' obj.uselib = 'GLIBMM SIGCPP XML JACK OSX' - obj.use = 'libpbd libevoral libtimecode' + obj.use = 'libpbd libevoral timecode_includes' obj.vnum = LIBMIDIPP_LIB_VERSION obj.install_path = os.path.join(bld.env['LIBDIR'], 'ardour3') diff --git a/libs/surfaces/control_protocol/wscript b/libs/surfaces/control_protocol/wscript index e1e1af950c..a597ca9e2a 100644 --- a/libs/surfaces/control_protocol/wscript +++ b/libs/surfaces/control_protocol/wscript @@ -43,7 +43,7 @@ def build(bld): obj.includes = ['.', './control_protocol'] obj.name = 'libardour_cp' obj.target = 'ardourcp' - obj.use = 'ardour libtimecode' + obj.use = 'ardour' obj.vnum = LIBARDOUR_CP_LIB_VERSION obj.install_path = os.path.join(bld.env['LIBDIR'], 'ardour3') -- cgit v1.2.3