From 753f11f3881eac51da49c5bb2c2eebc99bd47410 Mon Sep 17 00:00:00 2001 From: Jussi Pakkanen Date: Thu, 28 Apr 2011 14:46:17 +0200 Subject: Use visibility macros instead of symbol map Signed-off-by: Jussi Pakkanen Signed-off-by: Henrik Rydberg --- src/Makefile.am | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/Makefile.am') diff --git a/src/Makefile.am b/src/Makefile.am index da1a46e..c344342 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -2,7 +2,6 @@ lib_LTLIBRARIES = libutouch-grail.la libutouch_grail_la_LDFLAGS = \ -version-info @LIB_VERSION@ \ - -export-symbols ../utouch-grail.sym \ -lm \ $(MTDEV_LIBS) \ $(EVEMU_LIBS) \ @@ -28,7 +27,9 @@ libutouch_grail_la_SOURCES = \ grail-impl.h \ grail-api.c -AM_CFLAGS = $(CWARNFLAGS) +# These are flags required to properly set up +# the build. -fvisibility requires GCC > 4 (or clang) +AM_CFLAGS = $(CWARNFLAGS) -DBUILDING_GRAIL -fvisibility=hidden INCLUDES = -I$(top_srcdir)/include/ -- cgit v1.2.3