Skip to content

Commit 93a1ec7

Browse files
committed
constcheck: include Homebrew paths by default
1 parent ce19f2d commit 93a1ec7

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

test/constcheck.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@ done
1414
echo "return 0; }" >> "$CT"
1515

1616
CPPFLAGS="${CPPFLAGS} -Wno-deprecated-declarations"
17+
CPPFLAGS="${CPPFLAGS} -I/opt/homebrew/include"
18+
LDFLAGS="${LDFLAGS} -L/opt/homebrew/lib"
1719
${CC:-cc} "$CT" $CPPFLAGS $CFLAGS $LDFLAGS -lsodium || exit 1
1820
./a.out || exit 1
1921
rm -f a.out "$CT"

0 commit comments

Comments
 (0)