Skip to content

Commit

Permalink
qmake5 PG: allow xcrun test to work on older system
Browse files Browse the repository at this point in the history
  • Loading branch information
MarcusCalhoun-Lopez committed Apr 24, 2021
1 parent c430a8a commit be588d4
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion _resources/port1.0/group/qmake5-1.0.tcl
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,10 @@ pre-configure {

# starting with Xcode 7.0, the SDK for build OS version might not be available
# see https://trac.macports.org/ticket/53597
if {[catch {exec /usr/bin/xcrun --sdk macosx${configure.sdk_version} --show-sdk-path} result]} {
#
# avoid --show-sdk-path since it is not available on all platforms
# see https://github.com/macports/macports-ports/commit/9887e90d69f4265f9056cddc45e41551d7400235#commitcomment-49824261
if {[catch {exec /usr/bin/xcrun --sdk macosx${configure.sdk_version} --find ld} result]} {
configure.sdk_version
}

Expand Down

0 comments on commit be588d4

Please sign in to comment.