diff options
author | Marcel Holtmann <marcel@holtmann.org> | 2009-03-11 12:02:00 +0100 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2009-03-11 12:02:00 +0100 |
commit | 92bd92f8514ee69f464e965ec465adb86ff882b9 (patch) | |
tree | bf5b465e6293bde6ad63fec9b27c4cbafb35bc9b /serial | |
parent | fee17aefe6b727ec790568aa4994039ff94bf44e (diff) | |
download | bluez-92bd92f8514ee69f464e965ec465adb86ff882b9.tar.gz |
Use GCC visibility for exporting symbols
Diffstat (limited to 'serial')
-rw-r--r-- | serial/Makefile.am | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/serial/Makefile.am b/serial/Makefile.am index a3bd6d1f5..4fa455f5a 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 |