summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2008-05-09 09:16:32 +0000
committerMarcel Holtmann <marcel@holtmann.org>2008-05-09 09:16:32 +0000
commitf3c0a1a49b0b505b8543b5b3405bd62126be1a24 (patch)
treedf0eef371e82262e956d4e9f6f2c07fad04c360f
parent15ea15b3a752f0487bc50d0ea04925f1b9d33dcb (diff)
Use -no-undefined for linking plugins
-rw-r--r--audio/Makefile.am3
-rw-r--r--input/Makefile.am3
-rw-r--r--network/Makefile.am3
-rw-r--r--plugins/Makefile.am3
-rw-r--r--serial/Makefile.am3
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@