From 227e4a801243e94f18ead91512d09681c3c25dc0 Mon Sep 17 00:00:00 2001 From: Sergey Fedorov Date: Fri, 26 May 2023 12:27:11 +0800 Subject: [PATCH 3/5] Darwin.mk: do not hardcode flags to unbreak older macOS --- cfg/systems/Darwin.mk | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git cfg/systems/Darwin.mk cfg/systems/Darwin.mk index 32bacd8..84fac61 100644 --- cfg/systems/Darwin.mk +++ cfg/systems/Darwin.mk @@ -7,9 +7,8 @@ LIBS := $(filter-out ncursesw, $(LIBS)) LDFLAGS += -lncurses -lalut -ltoxcore -lcurl -lconfig -lqrencode -lpng -lopenal -g CFLAGS += -I@PREFIX@/include/AL -I@PREFIX@/include/glib-2.0 -g -OSX_LIBRARIES = -lobjc -lresolv -OSX_FRAMEWORKS = -framework Foundation -framework CoreFoundation -framework AVFoundation \ - -framework QuartzCore -framework CoreMedia +OSX_LIBRARIES = @LIBS@ +OSX_FRAMEWORKS = @FRAMEWORKS@ OSX_VIDEO = osx_video.m LDFLAGS += $(OSX_LIBRARIES) $(OSX_FRAMEWORKS)