summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/Makefile.am5
-rw-r--r--src/evbp.sym5
2 files changed, 9 insertions, 1 deletions
diff --git a/src/Makefile.am b/src/Makefile.am
index dcf011b..1364eaf 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -10,7 +10,8 @@ libevbp3_viewer_la_LIBADD = $(EVINCE3_LIBS)
libevbp3_viewer_la_SOURCES = $(libevbp2_viewer_la_SOURCES)
libevince2_plugin_la_CFLAGS = $(E_CFLAGS) $(MOZILLA_CFLAGS) $(EVINCE2_CFLAGS)
-libevince2_plugin_la_LDFLAGS = -avoid-version -module
+libevince2_plugin_la_LDFLAGS = -avoid-version -module \
+ -export-symbols $(srcdir)/evbp.sym
libevince2_plugin_la_LIBADD = libevbp2-viewer.la
libevince2_plugin_la_SOURCES = evbp.c
libevince3_plugin_la_CFLAGS = $(E_CFLAGS) $(MOZILLA_CFLAGS) $(EVINCE3_CFLAGS)
@@ -27,3 +28,5 @@ if ENABLE_GTK3
noinst_LTLIBRARIES += libevbp3-viewer.la
gtk3_plugin_LTLIBRARIES = libevince3-plugin.la
endif
+
+EXTRA_DIST = evbp.sym
diff --git a/src/evbp.sym b/src/evbp.sym
new file mode 100644
index 0000000..1bbcf1a
--- /dev/null
+++ b/src/evbp.sym
@@ -0,0 +1,5 @@
+NP_Initialize
+NP_Shutdown
+NP_GetPluginVersion
+NP_GetMIMEDescription
+NP_GetValue