BUILD: Fix builds using WinSparkle

This commit is contained in:
Colin Snover 2017-12-06 12:31:28 -06:00 committed by Thierry Crozat
parent 943b64ad16
commit 248b96c36b

View File

@ -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