aboutsummaryrefslogtreecommitdiffstats
path: root/Library/ENV
diff options
context:
space:
mode:
Diffstat (limited to 'Library/ENV')
-rwxr-xr-xLibrary/ENV/4.3/apr-1-config15
1 files changed, 15 insertions, 0 deletions
diff --git a/Library/ENV/4.3/apr-1-config b/Library/ENV/4.3/apr-1-config
new file mode 100755
index 000000000..40ad6478e
--- /dev/null
+++ b/Library/ENV/4.3/apr-1-config
@@ -0,0 +1,15 @@
+#!/bin/bash
+
+if [[ "$HOMEBREW_CCCFG" == *a* ]]; then
+ case "$1" in
+ --cc) echo "cc";;
+ --cpp) echo "cpp";;
+ --includedir) echo "$HOMEBREW_SDKROOT/usr/include/apr-1";;
+ --includes) echo "-isystem$HOMEBREW_SDKROOT/usr/include/apr-1";;
+ --apr-libtool) echo "glibtool";;
+ *)
+ exec xcrun apr-1-config "$@";;
+ esac
+else
+ exec /usr/bin/apr-1-config "$@"
+fi