diff options
| author | Jussi Pakkanen <jussi.pakkanen@canonical.com> | 2011-04-28 14:46:17 +0200 |
|---|---|---|
| committer | Henrik Rydberg <rydberg@euromail.se> | 2011-04-28 15:19:03 +0200 |
| commit | 753f11f3881eac51da49c5bb2c2eebc99bd47410 (patch) | |
| tree | b3a5906f6751116efd26fdd6951e7d2f82f0b38f /src/Makefile.am | |
| parent | b2a967eea554fce9fdec21f5e19c9608406f530c (diff) | |
Use visibility macros instead of symbol map
Signed-off-by: Jussi Pakkanen <jussi.pakkanen@canonical.com>
Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
Diffstat (limited to 'src/Makefile.am')
| -rw-r--r-- | src/Makefile.am | 5 |
1 files changed, 3 insertions, 2 deletions
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 | |||
| 2 | 2 | ||
| 3 | libutouch_grail_la_LDFLAGS = \ | 3 | libutouch_grail_la_LDFLAGS = \ |
| 4 | -version-info @LIB_VERSION@ \ | 4 | -version-info @LIB_VERSION@ \ |
| 5 | -export-symbols ../utouch-grail.sym \ | ||
| 6 | -lm \ | 5 | -lm \ |
| 7 | $(MTDEV_LIBS) \ | 6 | $(MTDEV_LIBS) \ |
| 8 | $(EVEMU_LIBS) \ | 7 | $(EVEMU_LIBS) \ |
| @@ -28,7 +27,9 @@ libutouch_grail_la_SOURCES = \ | |||
| 28 | grail-impl.h \ | 27 | grail-impl.h \ |
| 29 | grail-api.c | 28 | grail-api.c |
| 30 | 29 | ||
| 31 | AM_CFLAGS = $(CWARNFLAGS) | 30 | # These are flags required to properly set up |
| 31 | # the build. -fvisibility requires GCC > 4 (or clang) | ||
| 32 | AM_CFLAGS = $(CWARNFLAGS) -DBUILDING_GRAIL -fvisibility=hidden | ||
| 32 | 33 | ||
| 33 | INCLUDES = -I$(top_srcdir)/include/ | 34 | INCLUDES = -I$(top_srcdir)/include/ |
| 34 | 35 | ||
