[MacPorts] #14077: curl's libcurl.pc contains universal archs
#14077: curl's libcurl.pc contains universal archs -------------------------------------+-------------------------------------- Reporter: ryandesign@macports.org | Owner: ryandesign@macports.org Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.7.0 Keywords: | -------------------------------------+-------------------------------------- When installing `curl +universal` the installed pkg-config file contains the universal `-arch` flags ("`-arch ppc -arch i386`"): {{{ $ tail -n 12 /opt/local/lib/pkgconfig/libcurl.pc prefix=/opt/local exec_prefix=${prefix} libdir=${exec_prefix}/lib includedir=${prefix}/include Name: libcurl URL: http://curl.haxx.se/ Description: Library to transfer files with ftp, http, etc. Version: 7.17.1 Libs: -L${libdir} -lcurl -L/opt/local/lib -arch ppc -arch i386 -L/opt/local/lib -L/opt/local/lib Libs.private: -lssl -lcrypto -lssl -lcrypto -lz -lz Cflags: -I${includedir} $ }}} That's not good because now any other software linking with curl will try at least partially to build itself universal, even if the universal variant of that software was not requested. This may cause weird errors building that other software. (This happened to me a few days ago.) `libcurl.pc` should not contain the `-arch` flags. -- Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/14077> MacPorts </projects/macports> Ports system for Mac OS
#14077: curl's libcurl.pc contains universal archs --------------------------------------+------------------------------------- Reporter: ryandesign@macports.org | Owner: ryandesign@macports.org Type: defect | Status: closed Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.7.0 Resolution: fixed | Keywords: --------------------------------------+------------------------------------- Changes (by ryandesign@macports.org): * status: new => closed * resolution: => fixed Comment: Fixed in r33404, I hope. The fix works on Intel; I hope it works on PowerPC too. -- Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/14077#comment:1> MacPorts </projects/macports> Ports system for Mac OS
participants (1)
-
MacPorts