From f3c0a1a49b0b505b8543b5b3405bd62126be1a24 Mon Sep 17 00:00:00 2001 From: Marcel Holtmann Date: Fri, 9 May 2008 09:16:32 +0000 Subject: Use -no-undefined for linking plugins --- audio/Makefile.am | 3 ++- input/Makefile.am | 3 ++- network/Makefile.am | 3 ++- plugins/Makefile.am | 3 ++- serial/Makefile.am | 3 ++- 5 files changed, 10 insertions(+), 5 deletions(-) diff --git a/audio/Makefile.am b/audio/Makefile.am index 21d48860..e968ca6d 100644 --- a/audio/Makefile.am +++ b/audio/Makefile.am @@ -11,7 +11,8 @@ libaudio_la_SOURCES = main.c \ sink.c sink.h avdtp.c avdtp.h \ a2dp.c a2dp.h control.c control.h -libaudio_la_LDFLAGS = -module -avoid-version -export-symbols-regex bluetooth_plugin_desc +libaudio_la_LDFLAGS = -module -avoid-version -no-undefined \ + -export-symbols-regex bluetooth_plugin_desc LDADD = $(top_builddir)/common/libhelper.a \ @GDBUS_LIBS@ @GLIB_LIBS@ @DBUS_LIBS@ @BLUEZ_LIBS@ diff --git a/input/Makefile.am b/input/Makefile.am index a514b629..68132fea 100644 --- a/input/Makefile.am +++ b/input/Makefile.am @@ -13,7 +13,8 @@ LDADD = $(top_builddir)/common/libhelper.a \ @GDBUS_LIBS@ @GLIB_LIBS@ @DBUS_LIBS@ @BLUEZ_LIBS@ endif -AM_LDFLAGS = -module -avoid-version -export-symbols-regex bluetooth_plugin_desc +AM_LDFLAGS = -module -avoid-version -no-undefined \ + -export-symbols-regex bluetooth_plugin_desc AM_CFLAGS = @BLUEZ_CFLAGS@ @DBUS_CFLAGS@ @GLIB_CFLAGS@ @GDBUS_CFLAGS@ diff --git a/network/Makefile.am b/network/Makefile.am index e4b5b317..a60fcde0 100644 --- a/network/Makefile.am +++ b/network/Makefile.am @@ -13,7 +13,8 @@ LDADD = $(top_builddir)/common/libhelper.a \ @GDBUS_LIBS@ @GLIB_LIBS@ @DBUS_LIBS@ @BLUEZ_LIBS@ endif -AM_LDFLAGS = -module -avoid-version -export-symbols-regex bluetooth_plugin_desc +AM_LDFLAGS = -module -avoid-version -no-undefined \ + -export-symbols-regex bluetooth_plugin_desc AM_CFLAGS = @BLUEZ_CFLAGS@ @DBUS_CFLAGS@ @GLIB_CFLAGS@ @GDBUS_CFLAGS@ diff --git a/plugins/Makefile.am b/plugins/Makefile.am index c403e835..6f07b99a 100644 --- a/plugins/Makefile.am +++ b/plugins/Makefile.am @@ -9,7 +9,8 @@ noinst_LTLIBRARIES = libecho.la libecho_la_SOURCES = echo.c -AM_LDFLAGS = -module -avoid-version -export-symbols-regex bluetooth_plugin_desc +AM_LDFLAGS = -module -avoid-version -no-undefined \ + -export-symbols-regex bluetooth_plugin_desc AM_CFLAGS = @BLUEZ_CFLAGS@ @DBUS_CFLAGS@ @GLIB_CFLAGS@ @GDBUS_CFLAGS@ diff --git a/serial/Makefile.am b/serial/Makefile.am index 2f2286bf..effb7c6f 100644 --- a/serial/Makefile.am +++ b/serial/Makefile.am @@ -12,7 +12,8 @@ LDADD = $(top_builddir)/common/libhelper.a \ @GDBUS_LIBS@ @GLIB_LIBS@ @DBUS_LIBS@ @BLUEZ_LIBS@ endif -AM_LDFLAGS = -module -avoid-version -export-symbols-regex bluetooth_plugin_desc +AM_LDFLAGS = -module -avoid-version -no-undefined \ + -export-symbols-regex bluetooth_plugin_desc AM_CFLAGS = @BLUEZ_CFLAGS@ @DBUS_CFLAGS@ @GLIB_CFLAGS@ @GDBUS_CFLAGS@ -- cgit