mirror of
https://github.com/imgproxy/imgproxy.git
synced 2024-11-18 16:31:44 +02:00
Fix Lefthook hooks on macOS
This commit is contained in:
parent
de5edf278b
commit
b0aa618482
@ -7,6 +7,7 @@ fi
|
||||
|
||||
if [ -x "$(which brew)" ]; then
|
||||
export PKG_CONFIG_PATH="$PKG_CONFIG_PATH:$(brew --prefix libffi)/lib/pkgconfig"
|
||||
export PKG_CONFIG_PATH="$PKG_CONFIG_PATH:$(brew --prefix libarchive)/lib/pkgconfig"
|
||||
fi
|
||||
|
||||
export CGO_LDFLAGS_ALLOW="-s|-w"
|
||||
|
@ -2,6 +2,7 @@
|
||||
|
||||
if [ -x "$(which brew)" ]; then
|
||||
export PKG_CONFIG_PATH="$PKG_CONFIG_PATH:$(brew --prefix libffi)/lib/pkgconfig"
|
||||
export PKG_CONFIG_PATH="$PKG_CONFIG_PATH:$(brew --prefix libarchive)/lib/pkgconfig"
|
||||
fi
|
||||
|
||||
export CGO_LDFLAGS_ALLOW="-s|-w"
|
||||
|
Loading…
Reference in New Issue
Block a user