shims/mac/super/pkg-config: fix macOS <=10.13 compatibility
Fixes #7290.
This commit is contained in:
parent
64fd839c95
commit
692b3e5a7b
@ -1,5 +1,11 @@
|
||||
#!/bin/sh
|
||||
|
||||
exec "$HOMEBREW_OPT/pkg-config/bin/pkg-config" \
|
||||
pkg_config="$HOMEBREW_OPT/pkg-config/bin/pkg-config"
|
||||
|
||||
if [ -z "$HOMEBREW_SDKROOT" ]; then
|
||||
exec "$pkg_config" "$@"
|
||||
fi
|
||||
|
||||
exec "$pkg_config" \
|
||||
"--define-variable=homebrew_sdkroot=$HOMEBREW_SDKROOT" \
|
||||
"$@"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user