[postgis-tickets] r14536 - Invalid --exclude_libs (fails build on OSX)

Regina Obe lr at pcorp.us
Fri Jan 1 20:53:48 PST 2016


Author: robe
Date: 2016-01-01 20:53:48 -0800 (Fri, 01 Jan 2016)
New Revision: 14536

Modified:
   trunk/configure.ac
Log:
Invalid --exclude_libs (fails build on OSX)
References #3415 for PostGIS 2.3

Modified: trunk/configure.ac
===================================================================
--- trunk/configure.ac	2015-12-31 16:16:53 UTC (rev 14535)
+++ trunk/configure.ac	2016-01-02 04:53:48 UTC (rev 14536)
@@ -71,7 +71,7 @@
 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_LINKER_OPTION([if $compiler supports --exclude-libs], [_cv_exclude_libs], [[-Wl,--exclude-libs,ALL]], [], [EXCLUDELIBS_LDFLAGS="-Wl,--exclude-libs,ALL"], [])
 AC_SUBST([EXCLUDELIBS_LDFLAGS])
 
 dnl



More information about the postgis-tickets mailing list