summaryrefslogtreecommitdiffstats
path: root/build/macosx/xcrun
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-19 01:13:27 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-19 01:13:27 +0000
commit40a355a42d4a9444dc753c04c6608dade2f06a23 (patch)
tree871fc667d2de662f171103ce5ec067014ef85e61 /build/macosx/xcrun
parentAdding upstream version 124.0.1. (diff)
downloadfirefox-40a355a42d4a9444dc753c04c6608dade2f06a23.tar.xz
firefox-40a355a42d4a9444dc753c04c6608dade2f06a23.zip
Adding upstream version 125.0.1.upstream/125.0.1
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'build/macosx/xcrun')
-rwxr-xr-xbuild/macosx/xcrun10
1 files changed, 10 insertions, 0 deletions
diff --git a/build/macosx/xcrun b/build/macosx/xcrun
new file mode 100755
index 0000000000..52edb12d7b
--- /dev/null
+++ b/build/macosx/xcrun
@@ -0,0 +1,10 @@
+#!/bin/sh
+
+case "$*" in
+"--show-sdk-path --sdk iphoneos"|"--show-sdk-path -sdk iphoneos"|"--show-sdk-path --sdk iphonesimulator"|"--show-sdk-path -sdk iphonesimulator")
+ ;;
+*)
+ echo We only expect this to be executed by third_party/rust/cc/src/lib.rs or rustc when targetting iOS >&2
+ exit 1
+esac
+echo $IPHONEOS_SDK_DIR