fix needed linker flags for vst3/macos with gui

This commit is contained in:
Stefano D'Angelo 2024-05-30 17:07:34 +02:00
parent 99fe4d7044
commit 4e912fba3d

View File

@ -63,6 +63,9 @@ ifeq ($(UNAME_S), Darwin)
CFLAGS_ALL := ${CFLAGS_ALL} -arch arm64 -arch x86_64 CFLAGS_ALL := ${CFLAGS_ALL} -arch arm64 -arch x86_64
LDFLAGS_ALL := ${LDFLAGS_ALL} -arch arm64 -arch x86_64 LDFLAGS_ALL := ${LDFLAGS_ALL} -arch arm64 -arch x86_64
CXXFLAGS_ALL := ${CXXFLAGS_ALL} -arch arm64 -arch x86_64 CXXFLAGS_ALL := ${CXXFLAGS_ALL} -arch arm64 -arch x86_64
ifeq (${HAS_UI}, yes)
LDFLAGS_ALL := ${LDFLAGS_ALL} -Wl,-framework,Foundation -Wl,-framework,Cocoa -Wl,-framework,Corevideo
endif
endif endif
ifeq ($(UNAME_S), Linux) ifeq ($(UNAME_S), Linux)