Changes between Initial Version and Version 4 of Ticket #52002


Ignore:
Timestamp:
Aug 17, 2016, 4:44:45 AM (8 years ago)
Author:
ryandesign (Ryan Carsten Schmidt)
Comment:

Can anyone explain why -lc++ is used here instead of the more usual -stdlib=libc++?

Indeed, does this need to be specific to darwin or libc++? Why not just:

configure.ldflags-append -stdlib=${configure.cxx_stdlib}

Has anyone reported this problem to the developers of lilypond so they can fix it in their sources? MacPorts sets -stdlib=whatever in CXXFLAGS, lilypond just seems to be neglecting to use the CXXFLAGS variable when linking C++ code.

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #52002

    • Property Cc ryandesign@… added; snc@… removed
    • Property Owner changed from macports-tickets@… to snc@…
    • Property Status changed from new to closed
    • Property Resolution changed from to fixed
  • Ticket #52002 – Description

    initial v4  
    1 Lily pond fails to build on Snow Leopard with the <https://trac.macports.org/wiki/LibcxxOnOlderSystems> upgrade, due to missing reference to libc++. Failed build log attached. Fix Portfile diff also attached, that add reference to libc++ on Darwin Mountain Lion and lower with  configure.cxx_stdlib=libc++
     1Lily pond fails to build on Snow Leopard with the LibcxxOnOlderSystems upgrade, due to missing reference to libc++. Failed build log attached. Fix Portfile diff also attached, that add reference to libc++ on Darwin Mountain Lion and lower with  configure.cxx_stdlib=libc++