
Move some stuff formerly in `Library/ENV` around: - Move `Library/ENV/$XCODE_VERSION` to `Library/Homebrew/env/super` as they are all superenv wrappers and all symlinks to the same version. We never needed the "separate shims for separate versions" functionality and it just adds confusion. - Move `Library/ENV/pkgconfig` to `Library/Homebrew/env/pkgconfig` to get more things under `Library/Homebrew` - Move `Library/ENV/scm` to `Library/scm` as these wrappers are not actually used by or related to superenv (or stdenv) in any way.
16 lines
362 B
Bash
Executable File
16 lines
362 B
Bash
Executable File
#!/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
|