aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
Diffstat (limited to 'Library')
-rwxr-xr-xLibrary/ENV/4.3/make7
1 files changed, 6 insertions, 1 deletions
diff --git a/Library/ENV/4.3/make b/Library/ENV/4.3/make
index 7e5196e6a..5ec9dceb1 100755
--- a/Library/ENV/4.3/make
+++ b/Library/ENV/4.3/make
@@ -1,3 +1,8 @@
#!/bin/sh
export HOMEBREW_CCCFG="O$HOMEBREW_CCCFG"
-exec xcrun make "$@"
+if [ $(basename "$0") == "bsdmake" ]; then
+ pwd="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
+ exec "$pwd/../../../bin/bsdmake" "$@"
+else
+ exec xcrun make "$@"
+fi