diff options
Diffstat (limited to 'audio')
-rw-r--r-- | audio/Makefile.am | 14 | ||||
-rw-r--r-- | audio/gstbluetooth.c | 2 |
2 files changed, 10 insertions, 6 deletions
diff --git a/audio/Makefile.am b/audio/Makefile.am index 43030b8f..f5ca4ee2 100644 --- a/audio/Makefile.am +++ b/audio/Makefile.am @@ -13,8 +13,7 @@ audio_la_SOURCES = main.c \ nodist_audio_la_SOURCES = $(BUILT_SOURCES) -audio_la_LDFLAGS = -module -avoid-version -no-undefined \ - -export-symbols-regex bluetooth_plugin_desc +audio_la_LDFLAGS = -module -avoid-version -no-undefined LDADD = $(top_builddir)/common/libhelper.a \ @GDBUS_LIBS@ @GLIB_LIBS@ @DBUS_LIBS@ @BLUEZ_LIBS@ @@ -49,13 +48,16 @@ libgstbluetooth_la_SOURCES = gstbluetooth.c \ gstsbcutil.h gstsbcutil.c \ gstrtpsbcpay.h gstrtpsbcpay.c \ rtp.h ipc.h ipc.c -libgstbluetooth_la_LDFLAGS = -module -avoid-version -export-symbols-regex gst_plugin_desc -libgstbluetooth_la_LIBADD = @SBC_LIBS@ @BLUEZ_LIBS@ @GSTREAMER_LIBS@ -lgstaudio-0.10 -lgstrtp-0.10 -libgstbluetooth_la_CFLAGS = @GSTREAMER_CFLAGS@ @BLUEZ_CFLAGS@ @SBC_CFLAGS@ +libgstbluetooth_la_LDFLAGS = -module -avoid-version +libgstbluetooth_la_LIBADD = @SBC_LIBS@ @BLUEZ_LIBS@ @GSTREAMER_LIBS@ \ + -lgstaudio-0.10 -lgstrtp-0.10 +libgstbluetooth_la_CFLAGS = -fvisibility=hidden \ + @GSTREAMER_CFLAGS@ @BLUEZ_CFLAGS@ @SBC_CFLAGS@ endif endif -AM_CFLAGS = @BLUEZ_CFLAGS@ @DBUS_CFLAGS@ @GLIB_CFLAGS@ @GDBUS_CFLAGS@ +AM_CFLAGS = -fvisibility=hidden \ + @BLUEZ_CFLAGS@ @DBUS_CFLAGS@ @GLIB_CFLAGS@ @GDBUS_CFLAGS@ CLEANFILES = $(BUILT_SOURCES) diff --git a/audio/gstbluetooth.c b/audio/gstbluetooth.c index 072b12ee..7775b48d 100644 --- a/audio/gstbluetooth.c +++ b/audio/gstbluetooth.c @@ -99,6 +99,8 @@ static gboolean plugin_init(GstPlugin *plugin) return TRUE; } +extern GstPluginDesc gst_plugin_desc __attribute__ ((visibility("default"))); + GST_PLUGIN_DEFINE(GST_VERSION_MAJOR, GST_VERSION_MINOR, "bluetooth", "Bluetooth plugin library", plugin_init, VERSION, "LGPL", "BlueZ", "http://www.bluez.org/") |