constcheck: include Homebrew paths by default

This commit is contained in:
Frank Denis
2024-05-24 13:16:46 +02:00
parent ce19f2d494
commit 93a1ec76c2
+2
View File
@@ -14,6 +14,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"