From 92bd92f8514ee69f464e965ec465adb86ff882b9 Mon Sep 17 00:00:00 2001 From: Marcel Holtmann Date: Wed, 11 Mar 2009 12:02:00 +0100 Subject: Use GCC visibility for exporting symbols --- plugins/Makefile.am | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'plugins/Makefile.am') 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 -- cgit