projects
/
haproxy-3.0.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
435b2a5
)
CI: vtest: Fix the build script to properly work on MaOS
author
Christopher Faulet
<cfaulet@haproxy.com>
Tue, 27 May 2025 12:48:48 +0000
(14:48 +0200)
committer
Christopher Faulet
<cfaulet@haproxy.com>
Tue, 27 May 2025 13:21:54 +0000
(15:21 +0200)
"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.
(cherry picked from commit
508e074a320cab94997b1e3a2a6a3c6c2d0501ac
)
Signed-off-by: Christopher Faulet <cfaulet@haproxy.com>
(cherry picked from commit
475ce437176e029a1c9143090b2bab0f554b987d
)
Signed-off-by: Christopher Faulet <cfaulet@haproxy.com>
scripts/build-vtest.sh
patch
|
blob
|
history
diff --git
a/scripts/build-vtest.sh
b/scripts/build-vtest.sh
index
3da4276
..
f74da31
100755
(executable)
--- a/
scripts/build-vtest.sh
+++ b/
scripts/build-vtest.sh
@@
-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