diff options
author | ph10 <ph10@2f5784b3-3f2a-0410-8824-cb99058d5e15> | 2012-11-01 17:41:36 +0000 |
---|---|---|
committer | ph10 <ph10@2f5784b3-3f2a-0410-8824-cb99058d5e15> | 2012-11-01 17:41:36 +0000 |
commit | 616b6d7fb061e403e6086f00164ecf515c20631a (patch) | |
tree | b6c27a2437bef1fd7310bc71426da613275ce31b /Makefile.am | |
parent | 5ea1a1ad9979d44cac2cb471ba10b2c71f33295d (diff) | |
download | pcre-616b6d7fb061e403e6086f00164ecf515c20631a.tar.gz |
GCC visibility patch.
git-svn-id: svn://vcs.exim.org/pcre/code/trunk@1196 2f5784b3-3f2a-0410-8824-cb99058d5e15
Diffstat (limited to 'Makefile.am')
-rw-r--r-- | Makefile.am | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/Makefile.am b/Makefile.am index 3dfed2f..42e5503 100644 --- a/Makefile.am +++ b/Makefile.am @@ -101,7 +101,7 @@ EXTRA_DIST = # These files contain additional m4 macros that are used by autoconf. EXTRA_DIST += \ - m4/ax_pthread.m4 + m4/ax_pthread.m4 m4/pcre_visibility.m4 # These files contain maintenance information EXTRA_DIST += \ @@ -207,6 +207,7 @@ BUILT_SOURCES = pcre_chartables.c # Build the 8 bit library if it is enabled. if WITH_PCRE8 lib_LTLIBRARIES += libpcre.la + libpcre_la_SOURCES = \ pcre_byte_order.c \ pcre_compile.c \ @@ -232,6 +233,7 @@ libpcre_la_SOURCES = \ ucp.h libpcre_la_CFLAGS = \ + $(VISIBILITY_CFLAGS) \ $(AM_CFLAGS) libpcre_la_LIBADD = @@ -270,6 +272,7 @@ libpcre16_la_SOURCES = \ pcre16_xclass.c libpcre16_la_CFLAGS = \ + $(VISIBILITY_CFLAGS) \ $(AM_CFLAGS) libpcre16_la_LIBADD = @@ -308,7 +311,9 @@ libpcre32_la_SOURCES = \ pcre32_xclass.c libpcre32_la_CFLAGS = \ + $(VISIBILITY_CFLAGS) \ $(AM_CFLAGS) + libpcre32_la_LIBADD = ## This file is generated as part of the building process, so don't distribute. @@ -407,7 +412,7 @@ if WITH_PCRE8 lib_LTLIBRARIES += libpcreposix.la libpcreposix_la_SOURCES = \ pcreposix.c -libpcreposix_la_CFLAGS = $(AM_CFLAGS) +libpcreposix_la_CFLAGS = $(VISIBILITY_CFLAGS) $(AM_CFLAGS) libpcreposix_la_LDFLAGS = $(EXTRA_LIBPCREPOSIX_LDFLAGS) libpcreposix_la_LIBADD = libpcre.la @@ -426,7 +431,7 @@ libpcrecpp_la_SOURCES = \ pcrecpp.cc \ pcre_scanner.cc \ pcre_stringpiece.cc -libpcrecpp_la_CXXFLAGS = $(AM_CXXFLAGS) +libpcrecpp_la_CXXFLAGS = $(VISIBILITY_CXXFLAGS) $(AM_CXXFLAGS) libpcrecpp_la_LDFLAGS = $(EXTRA_LIBPCRECPP_LDFLAGS) libpcrecpp_la_LIBADD = libpcre.la |