From 193cab86d314e06d6efbdcad8616bb1a884949d2 Mon Sep 17 00:00:00 2001 From: Frank Denis Date: Fri, 24 May 2024 13:13:37 +0200 Subject: [PATCH] constcheck: include Homebrew paths by default --- test/constcheck.sh | 2 ++ 1 file changed, 2 insertions(+) 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"