mirror of
https://github.com/imgproxy/imgproxy.git
synced 2025-09-27 20:17:20 +02:00
Fix Lefthook hooks on macOS
This commit is contained in:
@@ -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"
|
||||
|
Reference in New Issue
Block a user