diff --git a/templates/vst3-make/Makefile b/templates/vst3-make/Makefile index 473c8a1..7dc97c2 100644 --- a/templates/vst3-make/Makefile +++ b/templates/vst3-make/Makefile @@ -63,6 +63,9 @@ ifeq ($(UNAME_S), Darwin) CFLAGS_ALL := ${CFLAGS_ALL} -arch arm64 -arch x86_64 LDFLAGS_ALL := ${LDFLAGS_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 ifeq ($(UNAME_S), Linux)