[Scummvm-git-logs] scummvm master -> 111be5137ed88169d55cfc776ff6106dc1343625
lephilousophe
noreply at scummvm.org
Sun Jun 28 15:21:16 UTC 2026
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:
111be5137e BACKENDS: HAIKU: Add option to build dynamic plugins for Haiku
Commit: 111be5137ed88169d55cfc776ff6106dc1343625
https://github.com/scummvm/scummvm/commit/111be5137ed88169d55cfc776ff6106dc1343625
Author: Luc Schrijvers (begasus at gmail.com)
Date: 2026-06-28T17:21:12+02:00
Commit Message:
BACKENDS: HAIKU: Add option to build dynamic plugins for Haiku
Changed paths:
configure
diff --git a/configure b/configure
index 02c17507ca8..9f0f58efe0c 100755
--- a/configure
+++ b/configure
@@ -3474,6 +3474,10 @@ EOF
haiku*)
append_var DEFINES "-DSYSTEM_NOT_SUPPORTING_D_TYPE"
append_var DEFINES "-D_GNU_SOURCE"
+ if test "$_dynamic_modules" = yes ; then
+ _detection_features_static=no
+ _plugins_default=dynamic
+ fi
# Needs -lnetwork for the timidity MIDI driver
append_var LIBS "-lnetwork"
_seq_midi=no
@@ -5205,6 +5209,18 @@ POST_OBJS_FLAGS := -Wl,-no-whole-archive
append_var DEFINES "-DUNCACHED_PLUGINS"
_mak_plugins='
PLUGIN_LDFLAGS += -Wl,-T$(srcdir)/backends/plugins/wii/plugin.ld
+'
+ ;;
+ haiku*)
+ _plugin_prefix="lib"
+ _plugin_suffix=".so"
+ append_var CXXFLAGS "-fPIC"
+ append_var DEFINES "-DUNCACHED_PLUGINS"
+_mak_plugins='
+PLUGIN_EXTRA_DEPS =
+PLUGIN_LDFLAGS += -shared
+PRE_OBJS_FLAGS := -Wl,-export-dynamic -Wl,-whole-archive
+POST_OBJS_FLAGS := -Wl,-no-whole-archive
'
;;
irix*)
More information about the Scummvm-git-logs
mailing list