Skip to content

Commit

Permalink
Check configure.cxx for stdlib decision
Browse files Browse the repository at this point in the history
It could be changed independently of configure.compiler.
  • Loading branch information
jmroot committed Jun 1, 2018
1 parent cf91a8b commit 326ab2a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/port1.0/portconfigure.tcl
Expand Up @@ -100,7 +100,7 @@ proc portconfigure::stdlib_trace {opt action args} {
}
proc portconfigure::configure_get_cxx_stdlib {} {
global cxx_stdlib configure.compiler
if {![string match macports-gcc-* ${configure.compiler}]} {
if {![string match *g++-mp-* [option configure.cxx]]} {
return $cxx_stdlib
} else {
return macports-libstdc++
Expand Down

0 comments on commit 326ab2a

Please sign in to comment.