[postgis-tickets] [PostGIS] #3415: fails to build on OS X because of --exclude-libs
PostGIS
trac at osgeo.org
Wed Dec 30 15:56:33 PST 2015
#3415: fails to build on OS X because of --exclude-libs
-----------------------------------+---------------------------
Reporter: petere | Owner: strk
Type: defect | Status: new
Priority: high | Milestone: PostGIS 2.2.1
Component: build/upgrade/install | Version: 2.2.x
Keywords: |
-----------------------------------+---------------------------
Version 2.2.0 fails to build on OS X for me because of the use of the new
--exclude-libs linker option. The configure test for that is incorrect,
because it checks --exclude-libs as a compiler option but then later uses
it as a linker option. Both clang and gcc will ignore a linker option
when run with the -c option, so the test always succeeds even though the
option is not supported by the system linker. In other words, this check
doesn't work correctly.
I suggest you change the configure test to use AC_LIBTOOL_LINKER_OPTION
instead of AC_LIBTOOL_COMPILER_OPTION.
--
Ticket URL: <https://trac.osgeo.org/postgis/ticket/3415>
PostGIS <http://trac.osgeo.org/postgis/>
The PostGIS Trac is used for bug, enhancement & task tracking, a user and developer wiki, and a view into the subversion code repository of PostGIS project.
More information about the postgis-tickets
mailing list