Skip to content

Commit

Permalink
Fix configure failing on macos-14
Browse files Browse the repository at this point in the history
  • Loading branch information
jun66j5 committed Jun 9, 2024
1 parent 928f2b6 commit 77198c8
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -56,10 +56,12 @@ ubuntu-*)
echo '::endgroup::'
with_apr=/usr/bin/apr-1-config
with_apu=/usr/bin/apu-1-config
with_serf=
with_serf=yes
with_apxs=/usr/bin/apxs2
with_sqlite=
sqlite_compat_ver=
with_lz4=yes
with_utf8proc=yes
parallel=3
;;
macos-*)
Expand Down Expand Up @@ -91,6 +93,8 @@ macos-*)
with_apxs="$(brew --prefix httpd)/bin/apxs"
with_sqlite="$(brew --prefix sqlite)"
sqlite_compat_ver="$(/usr/bin/sqlite3 :memory: 'SELECT sqlite_version()')"
with_lz4="$(brew --prefix lz4)"
with_utf8proc="$(brew --prefix utf8proc)"
parallel=4
if [ -d "$workspace/serf" ]; then
echo '::group::serf'
Expand Down Expand Up @@ -237,6 +241,7 @@ echo '::group::configure'
--with-apr="$with_apr" --with-apr-util="$with_apu" \
--with-serf="$with_serf" --with-sqlite="$with_sqlite" \
--enable-sqlite-compatibility-version="$sqlite_compat_ver" \
--with-lz4="$with_lz4" --with-utf8proc="$with_utf8proc" \
"$opt_swig" "$opt_py3c" "$opt_apxs" "$opt_javahl" "$opt_jdk" \
"$opt_junit" --without-doxygen --without-berkeley-db \
--without-gpg-agent --without-gnome-keyring --without-kwallet \
Expand Down

0 comments on commit 77198c8

Please sign in to comment.