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 --- serial/Makefile.am | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'serial') diff --git a/serial/Makefile.am b/serial/Makefile.am index a3bd6d1f..4fa455f5 100644 --- a/serial/Makefile.am +++ b/serial/Makefile.am @@ -5,17 +5,17 @@ plugindir = $(libdir)/bluetooth/plugins plugin_LTLIBRARIES = serial.la serial_la_SOURCES = main.c \ - manager.h manager.c port.h port.c \ - storage.h storage.c proxy.h proxy.c + manager.h manager.c port.h port.c \ + storage.h storage.c proxy.h proxy.c LDADD = $(top_builddir)/common/libhelper.a \ @GDBUS_LIBS@ @GLIB_LIBS@ @DBUS_LIBS@ @BLUEZ_LIBS@ 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@ +AM_CFLAGS = -fvisibility=hidden \ + @BLUEZ_CFLAGS@ @DBUS_CFLAGS@ @GLIB_CFLAGS@ @GDBUS_CFLAGS@ INCLUDES = -I$(top_srcdir)/common -I$(top_srcdir)/src -- cgit