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/gtkmm2ext/wscript | 1 + 1 file changed, 1 insertion(+) (limited to 'libs/gtkmm2ext') diff --git a/libs/gtkmm2ext/wscript b/libs/gtkmm2ext/wscript index 7a64ea01d3..b6dbaa63ec 100644 --- a/libs/gtkmm2ext/wscript +++ b/libs/gtkmm2ext/wscript @@ -94,6 +94,7 @@ def build(bld): os.path.normpath(bld.env['DATADIR']), 'locale') + '"'] if sys.platform == 'darwin': obj.source += ['gtkapplication_quartz.mm', 'nsglview.mm'] + obj.uselib += ' OSX' else: obj.source += ['gtkapplication_x11.c'] -- cgit v1.2.3