Ticket #51844: qt4-SL-Libcxx-fix-revised.diff
File qt4-SL-Libcxx-fix-revised.diff, 713 bytes (added by ken-cunningham-webuse, 8 years ago) |
---|
-
Portfile
old new 585 585 586 586 } 587 587 588 # on Leopard and Snow Leopard with libc++ForOlderSystems installed, SDK must be unset as we can only use system libraries 589 # also, a missing library link must be replaced for build to succeed 590 # <https://trac.macports.org/ticket/51844> 591 platform darwin { 592 if {${os.major} == 9 || ${os.major} == 10} { 593 if {${configure.cxx_stdlib} eq "libc++"} { 594 set SDK "" 595 configure.ldflags-append "-lobjc" 596 } 597 } 598 } 599 588 600 # set the SDK, if it was found and exists 589 601 590 602 if {[file exists ${SDK}]} {