[MacPorts] #39523: zlib doesn't build when clang is the default compiler (/usr/bin/cc)
MacPorts
noreply at macports.org
Mon Jun 24 16:45:55 PDT 2013
#39523: zlib doesn't build when clang is the default compiler (/usr/bin/cc)
----------------------+--------------------------------
Reporter: daniel@… | Owner: macports-tickets@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.1.3
Keywords: clang | Port: zlib
----------------------+--------------------------------
When Clang is used as the default compiler (i.e., /usr/bin/cc) then the
zlib configure script may fail to properly detect that the compiler is
"gcc"-like. This in turn causes the configure script to follow a slightly
different code path which then fails to properly compute the shared
library extension on Darwin.
This is effectively the same problem as:
http://trac.macports.org/ticket/28656
but when the compiler path doesn't include clang in it.
The attached patch (also submitted upstream to zlib maintainers) fixes the
problem by patching the configure script.
--
Ticket URL: <https://trac.macports.org/ticket/39523>
MacPorts <http://www.macports.org/>
Ports system for OS X
More information about the macports-tickets
mailing list