From 248b96c36bc38cf96f6b0117817db5c21fbefe1a Mon Sep 17 00:00:00 2001 From: Colin Snover Date: Wed, 6 Dec 2017 12:31:28 -0600 Subject: BUILD: Fix builds using WinSparkle --- ports.mk | 2 ++ 1 file changed, 2 insertions(+) (limited to 'ports.mk') diff --git a/ports.mk b/ports.mk index ce131f0a99..b1a3f61919 100644 --- a/ports.mk +++ b/ports.mk @@ -381,11 +381,13 @@ OSX_ZLIB ?= $(STATICLIBPATH)/lib/libz.a endif ifdef USE_SPARKLE +ifdef MACOSX ifneq ($(SPARKLEPATH),) OSX_STATIC_LIBS += -F$(SPARKLEPATH) endif OSX_STATIC_LIBS += -framework Sparkle -Wl,-rpath,@loader_path/../Frameworks endif +endif # Special target to create a static linked binary for Mac OS X. # We use -force_cpusubtype_ALL to ensure the binary runs on every -- cgit v1.2.3