summaryrefslogtreecommitdiffstats
path: root/plugins/Makefile.am
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2009-03-11 12:02:00 +0100
committerMarcel Holtmann <marcel@holtmann.org>2009-03-11 12:02:00 +0100
commit92bd92f8514ee69f464e965ec465adb86ff882b9 (patch)
treebf5b465e6293bde6ad63fec9b27c4cbafb35bc9b /plugins/Makefile.am
parentfee17aefe6b727ec790568aa4994039ff94bf44e (diff)
Use GCC visibility for exporting symbols
Diffstat (limited to 'plugins/Makefile.am')
-rw-r--r--plugins/Makefile.am7
1 files changed, 3 insertions, 4 deletions
diff --git a/plugins/Makefile.am b/plugins/Makefile.am
index 3b258a36..a1e933f9 100644
--- a/plugins/Makefile.am
+++ b/plugins/Makefile.am
@@ -31,11 +31,10 @@ if SERVICEPLUGIN
service_la_SOURCES = service.c
endif
-AM_LDFLAGS = -module -avoid-version -no-undefined \
- -export-symbols-regex bluetooth_plugin_desc
+AM_LDFLAGS = -module -avoid-version -no-undefined
-AM_CFLAGS = @BLUEZ_CFLAGS@ @DBUS_CFLAGS@ @GLIB_CFLAGS@ \
- @GDBUS_CFLAGS@ @NETLINK_CFLAGS@
+AM_CFLAGS = -fvisibility=hidden @BLUEZ_CFLAGS@ @DBUS_CFLAGS@ \
+ @GLIB_CFLAGS@ @GDBUS_CFLAGS@ @NETLINK_CFLAGS@
INCLUDES = -I$(top_srcdir)/common -I$(top_srcdir)/src