Do not export library symbols from the PostgreSQL module

Makes it easy for other modules to use dynamically linked liblwgeom.
See #3281.

git-svn-id: http://svn.osgeo.org/postgis/trunk@14083 b70326c6-7e19-0410-871a-916f4a2858ee
This commit is contained in:
Sandro Santilli 2015-09-21 16:16:21 +00:00
parent 6367d3b673
commit 49fb9394b2

View file

@ -73,7 +73,7 @@ dnl Exporting used library symbols in the module is a source of issues,
dnl see https://trac.osgeo.org/postgis/ticket/3281
dnl
EXCLUDELIBS_LDFLAGS=""
AC_LIBTOOL_COMPILER_OPTION([if $compiler supports --exclude-libs], [_cv_exclude_libs], [--Wl,--exclude-libs,ALL], [], [EXCLUDELIBS_LDFLAGS="-Wl,--exclude-libs,ALL"], [])
AC_LIBTOOL_COMPILER_OPTION([if $compiler supports --exclude-libs], [_cv_exclude_libs], [[-Wl,--exclude-libs,ALL]], [], [EXCLUDELIBS_LDFLAGS="-Wl,--exclude-libs,ALL"], [])
AC_SUBST([EXCLUDELIBS_LDFLAGS])
dnl