summaryrefslogtreecommitdiff
path: root/libs/surfaces/launch_control_xl/wscript
diff options
context:
space:
mode:
authorRobin Gareus <robin@gareus.org>2020-01-21 04:35:40 +0100
committerRobin Gareus <robin@gareus.org>2020-01-25 04:07:41 +0100
commit06b2eb1c277c35e653b9117b194eadbb65dcbb66 (patch)
treee2a1903dc45fbc9724cb18dc3c69f6e714d79ac9 /libs/surfaces/launch_control_xl/wscript
parent1d2cfd6f2d736144b8c81179126b5850a718f769 (diff)
Explicitly use OSX
Previously this was inherited via PBD. On MacOS/X, this adds "-undefined dynamic_lookup -flat_namespace" and various "-framework .." options to linkflags Without this flag, .dylibs fail to link usually because of missing `-lintl` (Undefined symbols: "_libintl_dgettext") On other systems this is a NO-OP: CFLAGS_OSX, CXXFLAGS_OSX and LINKFLAGS_OSX are only set on the darwin platform.
Diffstat (limited to 'libs/surfaces/launch_control_xl/wscript')
-rw-r--r--libs/surfaces/launch_control_xl/wscript2
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/surfaces/launch_control_xl/wscript b/libs/surfaces/launch_control_xl/wscript
index 97f4f2222c..e573101331 100644
--- a/libs/surfaces/launch_control_xl/wscript
+++ b/libs/surfaces/launch_control_xl/wscript
@@ -33,7 +33,7 @@ def build(bld):
obj.includes = ['.', './launch_control_xl']
obj.name = 'libardour_launch_control_xl'
obj.target = 'ardour_launch_control_xl'
- obj.uselib = 'GTKMM SIGCPP XML'
+ obj.uselib = 'GTKMM SIGCPP XML OSX'
obj.use = 'libardour libardour_cp libpbd libevoral libcanvas libtemporal'
obj.install_path = os.path.join(bld.env['LIBDIR'], 'surfaces')