1
mirror of https://github.com/jedisct1/libsodium.git synced 2024-12-19 01:55:02 -07:00

constcheck: include Homebrew paths by default

This commit is contained in:
Frank Denis 2024-05-24 13:13:37 +02:00
parent f00e05cde5
commit 193cab86d3

View File

@ -13,6 +13,8 @@ done
echo "return 0; }" >> "$CT"
CPPFLAGS="${CPPFLAGS} -Wno-deprecated-declarations"
CPPFLAGS="${CPPFLAGS} -I/opt/homebrew/include"
LDFLAGS="${LDFLAGS} -L/opt/homebrew/lib"
${CC:-cc} "$CT" $CPPFLAGS $CFLAGS $LDFLAGS -lsodium || exit 1
./a.out || exit 1
rm -f a.out "$CT"