diff --git a/test/constcheck.sh b/test/constcheck.sh index 9fd17eb7..e9932d8d 100755 --- a/test/constcheck.sh +++ b/test/constcheck.sh @@ -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"