summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/Makefile.am4
-rw-r--r--src/map-file10
2 files changed, 13 insertions, 1 deletions
diff --git a/src/Makefile.am b/src/Makefile.am
index cf59b2e..d985ef3 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -52,7 +52,9 @@ libcanberra_la_CFLAGS = \
libcanberra_la_LIBADD = \
$(VORBIS_LIBS)
libcanberra_la_LDFLAGS = \
- -export-dynamic -version-info 0:2:0
+ -export-dynamic \
+ -version-info 0:2:0 \
+ -Wl,-version-script=$(srcdir)/map-file
plugin_LTLIBRARIES =
diff --git a/src/map-file b/src/map-file
new file mode 100644
index 0000000..2265ed0
--- /dev/null
+++ b/src/map-file
@@ -0,0 +1,10 @@
+CANBERRA_0 {
+local:
+driver_cache;
+driver_cancel;
+driver_change_device;
+driver_change_props;
+driver_destroy;
+driver_open;
+driver_play;
+};