summaryrefslogtreecommitdiffstats
path: root/audio
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2007-08-29 09:21:34 +0000
committerMarcel Holtmann <marcel@holtmann.org>2007-08-29 09:21:34 +0000
commit986c273d9f5bc0970fb06ec755ba3ebca0220c60 (patch)
treeff4bddadc97a90edb0bd9ef957c19623aa2600c6 /audio
parentda81fb5e8f0c98791b0749fdde0ac8d06fa74cc9 (diff)
Only export the needed symbols for the plugins
Diffstat (limited to 'audio')
-rw-r--r--audio/Makefile.am6
1 files changed, 3 insertions, 3 deletions
diff --git a/audio/Makefile.am b/audio/Makefile.am
index b5e3c466..a670fced 100644
--- a/audio/Makefile.am
+++ b/audio/Makefile.am
@@ -24,12 +24,12 @@ alsadir = $(libdir)/alsa-lib
alsa_LTLIBRARIES = libasound_module_pcm_bluetooth.la libasound_module_ctl_bluetooth.la
libasound_module_pcm_bluetooth_la_SOURCES = pcm_bluetooth.c ipc.h
-libasound_module_pcm_bluetooth_la_LDFLAGS = -module -avoid-version -export-dynamic
+libasound_module_pcm_bluetooth_la_LDFLAGS = -module -avoid-version -export-symbols-regex [_]*snd_pcm_.*
libasound_module_pcm_bluetooth_la_LIBADD = @SBC_LIBS@ @ALSA_LIBS@
libasound_module_pcm_bluetooth_la_CFLAGS = @ALSA_CFLAGS@ @SBC_CFLAGS@
libasound_module_ctl_bluetooth_la_SOURCES = ctl_bluetooth.c ipc.h
-libasound_module_ctl_bluetooth_la_LDFLAGS = -module -avoid-version -export-dynamic
+libasound_module_ctl_bluetooth_la_LDFLAGS = -module -avoid-version -export-symbols-regex [_]*snd_ctl_.*
libasound_module_ctl_bluetooth_la_LIBADD = @ALSA_LIBS@
libasound_module_ctl_bluetooth_la_CFLAGS = @ALSA_CFLAGS@
endif
@@ -44,7 +44,7 @@ libgstbluetooth_la_SOURCES = gstbluetooth.c ipc.h \
gstsbcdec.h gstsbcdec.c \
gstsbcparse.h gstsbcparse.c \
gsta2dpsink.h gsta2dpsink.c
-libgstbluetooth_la_LDFLAGS = -module -avoid-version -export-dynamic
+libgstbluetooth_la_LDFLAGS = -module -avoid-version -export-symbols-regex [_]*\(gst_\|Gst\|GST_\).*
libgstbluetooth_la_LIBADD = @SBC_LIBS@ @GSTREAMER_LIBS@ -lgstaudio-0.10
libgstbluetooth_la_CFLAGS = @GSTREAMER_CFLAGS@ @SBC_CFLAGS@
endif