mirror of
http://git.haproxy.org/git/haproxy.git
synced 2026-02-10 21:32:41 +02:00
CI: vtest: Fix the build script to properly work on MaOS
"config.h" header file is new in VTest2 and includes must be adapted to be able to build VTest on MacOS. Let's add "-I." to make it work.
This commit is contained in:
@@ -24,7 +24,7 @@ set -e
|
||||
# temporarily detect Apple Silicon (it's using /opt/homebrew instead of /usr/local)
|
||||
#
|
||||
if test -f /opt/homebrew/include/pcre2.h; then
|
||||
make -j${CPUS} FLAGS="-O2 -s -Wall" INCS="-Isrc -Ilib -I/usr/local/include -I/opt/homebrew/include -pthread"
|
||||
make -j${CPUS} FLAGS="-O2 -s -Wall" INCS="-I. -Isrc -Ilib -I/usr/local/include -I/opt/homebrew/include -pthread"
|
||||
else
|
||||
make -j${CPUS} FLAGS="-O2 -s -Wall"
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user