aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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