From 06b2eb1c277c35e653b9117b194eadbb65dcbb66 Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Tue, 21 Jan 2020 04:35:40 +0100 Subject: 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. --- libs/widgets/wscript | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libs/widgets') diff --git a/libs/widgets/wscript b/libs/widgets/wscript index d1b4aab0ac..8c052f5bed 100644 --- a/libs/widgets/wscript +++ b/libs/widgets/wscript @@ -75,7 +75,7 @@ def build(bld): obj.export_includes = ['.'] obj.includes = ['.'] + bld.env['INCLUDES_GLIB'] - obj.uselib = 'SIGCPP CAIROMM GTKMM BOOST XML' + obj.uselib = 'SIGCPP CAIROMM GTKMM BOOST XML OSX' obj.use = [ 'libpbd', 'libgtkmm2ext' ] obj.name = 'libwidgets' obj.target = 'widgets' -- cgit v1.2.3