diff options
author | Simon Josefsson <simon@josefsson.org> | 2009-03-04 17:38:15 +0100 |
---|---|---|
committer | Simon Josefsson <simon@josefsson.org> | 2009-03-04 17:38:15 +0100 |
commit | 4844b4ebb0fa4c9c8acf8aaa55deabc69579e0ea (patch) | |
tree | 09b7c0a85c0b4cb269609ac12b31e15ef50ba2f8 /lib/Makefile.am | |
parent | d8ec4e76435caa40932c61611be2cedfa811afe3 (diff) | |
download | libtasn1-4844b4ebb0fa4c9c8acf8aaa55deabc69579e0ea.tar.gz libtasn1-4844b4ebb0fa4c9c8acf8aaa55deabc69579e0ea.tar.bz2 libtasn1-4844b4ebb0fa4c9c8acf8aaa55deabc69579e0ea.zip |
Use -fvisibility=hidden and mark public APIs explicitly.
Diffstat (limited to 'lib/Makefile.am')
-rw-r--r-- | lib/Makefile.am | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/Makefile.am b/lib/Makefile.am index 10e4ce3..ae1988b 100644 --- a/lib/Makefile.am +++ b/lib/Makefile.am @@ -18,8 +18,8 @@ SUBDIRS = gllib -AM_CFLAGS = $(WARN_CFLAGS) -AM_CPPFLAGS = -I$(builddir)/gllib +AM_CFLAGS = $(WARN_CFLAGS) $(CFLAG_VISIBILITY) +AM_CPPFLAGS = -I$(builddir)/gllib -DASN1_BUILDING include_HEADERS = libtasn1.h @@ -51,4 +51,6 @@ libtasn1_la_LDFLAGS = \ if HAVE_LD_VERSION_SCRIPT libtasn1_la_LDFLAGS += -Wl,--version-script=$(srcdir)/libtasn1.map +else +libtasn1_la_LDFLAGS += -export-symbols-regex '^asn1.*' endif |