summaryrefslogtreecommitdiff
path: root/lib/gllib
diff options
context:
space:
mode:
authorSimon Josefsson <simon@josefsson.org>2009-03-04 17:38:15 +0100
committerSimon Josefsson <simon@josefsson.org>2009-03-04 17:38:15 +0100
commit4844b4ebb0fa4c9c8acf8aaa55deabc69579e0ea (patch)
tree09b7c0a85c0b4cb269609ac12b31e15ef50ba2f8 /lib/gllib
parentd8ec4e76435caa40932c61611be2cedfa811afe3 (diff)
downloadlibtasn1-4844b4ebb0fa4c9c8acf8aaa55deabc69579e0ea.tar.gz
libtasn1-4844b4ebb0fa4c9c8acf8aaa55deabc69579e0ea.tar.bz2
libtasn1-4844b4ebb0fa4c9c8acf8aaa55deabc69579e0ea.zip
Use -fvisibility=hidden and mark public APIs explicitly.
Diffstat (limited to 'lib/gllib')
-rw-r--r--lib/gllib/Makefile.am12
1 files changed, 11 insertions, 1 deletions
diff --git a/lib/gllib/Makefile.am b/lib/gllib/Makefile.am
index f1d852e..a045718 100644
--- a/lib/gllib/Makefile.am
+++ b/lib/gllib/Makefile.am
@@ -9,7 +9,7 @@
# the same distribution terms as the rest of that program.
#
# Generated by gnulib-tool.
-# Reproduce by: gnulib-tool --import --dir=. --lib=libgnu --source-base=lib/gllib --m4-base=lib/glm4 --doc-base=doc --tests-base=tests --aux-dir=build-aux --avoid=dummy --lgpl=2 --libtool --macro-prefix=lgl --no-vc-files ld-version-script stdint
+# Reproduce by: gnulib-tool --import --dir=. --lib=libgnu --source-base=lib/gllib --m4-base=lib/glm4 --doc-base=doc --tests-base=tests --aux-dir=build-aux --avoid=dummy --lgpl=2 --libtool --macro-prefix=lgl --no-vc-files ld-version-script stdint visibility
AUTOMAKE_OPTIONS = 1.5 gnits
@@ -87,6 +87,16 @@ EXTRA_DIST += stdint.in.h
## end gnulib module stdint
+## begin gnulib module visibility
+
+# The value of $(CFLAG_VISIBILITY) needs to be added to the CFLAGS for the
+# compilation of all sources that make up the library. This line here does it
+# only for the gnulib part of it. The developer is responsible for adding
+# $(CFLAG_VISIBILITY) to the Makefile.ams of the other portions of the library.
+AM_CFLAGS += $(CFLAG_VISIBILITY)
+
+## end gnulib module visibility
+
## begin gnulib module wchar
BUILT_SOURCES += $(WCHAR_H)