[Scummvm-cvs-logs] SF.net SVN: scummvm:[52153] scummvm/trunk/configure
djwillis at users.sourceforge.net
djwillis at users.sourceforge.net
Tue Aug 17 13:40:48 CEST 2010
Revision: 52153
http://scummvm.svn.sourceforge.net/scummvm/?rev=52153&view=rev
Author: djwillis
Date: 2010-08-17 11:40:48 +0000 (Tue, 17 Aug 2010)
Log Message:
-----------
CONFIGURE: Add plugin support for the GP2X backend.
I'll switch the GP2X to use plugins by default for new releases after some additional testing.
Modified Paths:
--------------
scummvm/trunk/configure
Modified: scummvm/trunk/configure
===================================================================
--- scummvm/trunk/configure 2010-08-17 11:19:34 UTC (rev 52152)
+++ scummvm/trunk/configure 2010-08-17 11:40:48 UTC (rev 52153)
@@ -1946,6 +1946,24 @@
POST_OBJS_FLAGS := -Wl,-no-whole-archive
'
;;
+ gp2x*)
+_def_plugin='
+#define PLUGIN_PREFIX ""
+#define PLUGIN_SUFFIX ".plugin"
+'
+_mak_plugins='
+DYNAMIC_MODULES := 1
+PLUGIN_PREFIX :=
+PLUGIN_SUFFIX := .plugin
+PLUGIN_EXTRA_DEPS = $(EXECUTABLE)
+CXXFLAGS += -DDYNAMIC_MODULES
+CXXFLAGS += -fpic
+PLUGIN_LDFLAGS += -shared
+PRE_OBJS_FLAGS := -Wl,-export-dynamic -Wl,-whole-archive
+POST_OBJS_FLAGS := -Wl,-no-whole-archive
+LIBS += -ldl
+'
+ ;;
gp2xwiz*)
_def_plugin='
#define PLUGIN_PREFIX ""
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the Scummvm-git-logs
mailing list