[MacPorts] #53123: botan links against libstdc++ on 10.6 with libcxx, preventing qca from building. And workaround.
MacPorts
noreply at macports.org
Tue Jul 25 05:56:53 UTC 2017
#53123: botan links against libstdc++ on 10.6 with libcxx, preventing qca from
building. And workaround.
---------------------+--------------------------------
Reporter: kencu | Owner: macports-tickets@…
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version:
Resolution: | Keywords: snowleopard
Port: botan |
---------------------+--------------------------------
Comment (by kencu):
Still lots of troubles with botan -- on a 10.7 machine it needs to be
installed with cxx11 1.1 to support qt5-qtcreator, and in doing so the c++
standard lib linkages are all wrong. I found this block in db60 which
works nicely when added to botan, though, to fix this issue by adding the
standard library setting onto the compiler spec:
{{{
set cxx_stdlibflags {}
if {[string match *clang* ${configure.cxx}]} {
set cxx_stdlibflags -stdlib=${configure.cxx_stdlib}
}
configure.cxx ${configure.cxx} ${cxx_stdlibflags}
}}}
--
Ticket URL: <https://trac.macports.org/ticket/53123#comment:5>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list