[Scummvm-cvs-logs] CVS: scummvm Makefile.common,1.68,1.69
Max Horn
fingolfin at users.sourceforge.net
Thu Sep 18 11:25:02 CEST 2003
Update of /cvsroot/scummvm/scummvm
In directory sc8-pr-cvs1:/tmp/cvs-serv27120
Modified Files:
Makefile.common
Log Message:
added initial support for building our 4 adventure engines as loadable modules; right now only work on OS X; once we add more build rules, other systems with dlopen() should work, too (e.g. Linux); Windows support may come later. This is still very much WIP
Index: Makefile.common
===================================================================
RCS file: /cvsroot/scummvm/scummvm/Makefile.common,v
retrieving revision 1.68
retrieving revision 1.69
diff -u -d -r1.68 -r1.69
--- Makefile.common 18 Sep 2003 13:03:56 -0000 1.68
+++ Makefile.common 18 Sep 2003 18:23:51 -0000 1.69
@@ -41,10 +41,10 @@
PLUGIN_SUFFIX := .so
ifdef BUILD_PLUGINS
-# FIXME/TODO: The following is OS X specific (and the '-m' is an evil hack
-# to work around the conflict between our operators new/delete and the
-# ones provided by libstdc++.a)
-LDFLAGS += -all_load -m
+# FIXME/TODO: The following is OS X specific
+LDFLAGS += -all_load
+CXXFLAGS += -DDYNAMIC_MODULES
+LIBS += -ldl
endif
######################################################################
More information about the Scummvm-git-logs
mailing list