#44129: cmake: fix build against libc++ on Lion ----------------------+------------------------- Reporter: mojca@… | Owner: michaelld@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: lion Port: cmake | ----------------------+------------------------- Comment (by mojca@…): True, `libc++` comes with the system. But {{{ clang++-mp-3.4 -stdlib=libc++ test.cxx -o test }}} works for me. And it links to the same stdlib: {{{
otool -L test test: /usr/lib/libc++.1.dylib (compatibility version 1.0.0, current version 28.4.0) /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 159.1.0) }}}
See [[XcodeVersionInfo]]. -- Ticket URL: <https://trac.macports.org/ticket/44129#comment:20> MacPorts <https://www.macports.org/> Ports system for OS X