1
0
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:
DarthSim 2023-11-25 20:42:54 +03:00
parent de5edf278b
commit b0aa618482
2 changed files with 2 additions and 0 deletions

View File

@ -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"

View File

@ -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"