aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMax Horn2004-03-23 00:30:50 +0000
committerMax Horn2004-03-23 00:30:50 +0000
commited5ac925f077c261b7fb5c7bd5bff876abd7b037 (patch)
treec1b101afe6835405d7b93f00026ca4b3d08cd21b
parent66de19015b7a263c4535d8341698eb9665033cbf (diff)
downloadscummvm-rg350-ed5ac925f077c261b7fb5c7bd5bff876abd7b037.tar.gz
scummvm-rg350-ed5ac925f077c261b7fb5c7bd5bff876abd7b037.tar.bz2
scummvm-rg350-ed5ac925f077c261b7fb5c7bd5bff876abd7b037.zip
Added export symbol list for plugins (only used on OSX, if anybody wants to add support for Linux, go ahead)
svn-id: r13368
-rwxr-xr-xconfigure2
-rw-r--r--plugin.exp4
2 files changed, 5 insertions, 1 deletions
diff --git a/configure b/configure
index 712137bf37..8585585131 100755
--- a/configure
+++ b/configure
@@ -624,7 +624,7 @@ LIBS += -ldl
_mak_plugins='
BUILD_PLUGINS := 1
CXXFLAGS += -DDYNAMIC_MODULES
-PLUGIN_LDFLAGS += -bundle -bundle_loader $(EXECUTABLE)
+PLUGIN_LDFLAGS += -bundle -bundle_loader $(EXECUTABLE) -exported_symbols_list "$(srcdir)/plugin.exp"
PRE_OBJS_FLAGS := -all_load
POST_OBJS_FLAGS :=
LIBS += -ldl
diff --git a/plugin.exp b/plugin.exp
new file mode 100644
index 0000000000..23f74ecafe
--- /dev/null
+++ b/plugin.exp
@@ -0,0 +1,4 @@
+_PLUGIN_createEngine
+_PLUGIN_detectGames
+_PLUGIN_getSupportedGames
+_PLUGIN_name