[Scummvm-git-logs] scummvm master -> cb28ad482cf37854e4cd7570b9db5b808d631351
lephilousophe
noreply at scummvm.org
Tue Nov 11 16:26:59 UTC 2025
This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://api.github.com/repos/scummvm/scummvm .
Summary:
cb28ad482c MACOS: Fix static build with latest Fluidsynth
Commit: cb28ad482cf37854e4cd7570b9db5b808d631351
https://github.com/scummvm/scummvm/commit/cb28ad482cf37854e4cd7570b9db5b808d631351
Author: Le Philousophe (lephilousophe at users.noreply.github.com)
Date: 2025-11-11T17:25:39+01:00
Commit Message:
MACOS: Fix static build with latest Fluidsynth
Latest Fluidsynth versions support building without GLib so don't link
with glib if the library is not present.
Changed paths:
ports.mk
diff --git a/ports.mk b/ports.mk
index 3ad0318c595..0387936c096 100644
--- a/ports.mk
+++ b/ports.mk
@@ -509,9 +509,13 @@ else
ifdef USE_FLUIDSYNTH
OSX_STATIC_LIBS += -liconv \
-framework CoreMIDI -framework CoreAudio\
- $(STATICLIBPATH)/lib/libfluidsynth.a \
- $(STATICLIBPATH)/lib/libglib-2.0.a \
- $(STATICLIBPATH)/lib/libintl.a
+ $(STATICLIBPATH)/lib/libfluidsynth.a
+ifneq (,$(wildcard $(STATICLIBPATH)/lib/libglib-2.0.a))
+OSX_STATIC_LIBS += $(STATICLIBPATH)/lib/libglib-2.0.a
+ifneq (,$(wildcard $(STATICLIBPATH)/lib/libintl.a))
+OSX_STATIC_LIBS += $(STATICLIBPATH)/lib/libintl.a
+endif
+endif
ifneq ($(BACKEND), ios7)
OSX_STATIC_LIBS += -lreadline
More information about the Scummvm-git-logs
mailing list