Skip to content

Commit

Permalink
qmake5 PG: require Xcode if SDKs not provided by CLT
Browse files Browse the repository at this point in the history
  • Loading branch information
MarcusCalhoun-Lopez committed Nov 14, 2019
1 parent 4520de7 commit 63e0613
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions _resources/port1.0/group/qmake5-1.0.tcl
Expand Up @@ -26,10 +26,9 @@ configure.pre_args-replace --prefix=${prefix} "PREFIX=${prefix}"
configure.universal_args-delete --disable-dependency-tracking

platform macosx {
# Use Xcode on macOS <= 10.9 (os.major 13) because CLT doesn't ship with an SDK on 10.9-
# Better way is to just check if CLT SDK works correctly rather than hardcode OS
# Use Xcode if CLT doesn't ship with an SDK
# See: https://trac.macports.org/ticket/58779
if {${os.major} <= 13} {
if { !${use_xcode} && ![file exists ${configure.developer_dir}/SDKs] } {
use_xcode yes
}
}
Expand Down

0 comments on commit 63e0613

Please sign in to comment.