mirror of
https://github.com/jedisct1/libsodium.git
synced 2024-12-19 10:05:05 -07:00
constcheck: include Homebrew paths by default
This commit is contained in:
parent
f00e05cde5
commit
193cab86d3
@ -13,6 +13,8 @@ done
|
|||||||
echo "return 0; }" >> "$CT"
|
echo "return 0; }" >> "$CT"
|
||||||
|
|
||||||
CPPFLAGS="${CPPFLAGS} -Wno-deprecated-declarations"
|
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
|
${CC:-cc} "$CT" $CPPFLAGS $CFLAGS $LDFLAGS -lsodium || exit 1
|
||||||
./a.out || exit 1
|
./a.out || exit 1
|
||||||
rm -f a.out "$CT"
|
rm -f a.out "$CT"
|
||||||
|
Loading…
Reference in New Issue
Block a user