-
Notifications
You must be signed in to change notification settings - Fork 701
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1270 from dgreatwood/fallbackHttplibMacOS
Fix: Enable use of subproject httplib in macOS despite nofallback
- Loading branch information
Showing
3 changed files
with
60 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
#!/bin/bash | ||
|
||
# | ||
# SPDX-FileCopyrightText: 2024 Duncan Greatwood | ||
# | ||
# SPDX-License-Identifier: Apache-2.0 | ||
# | ||
|
||
# Execute this script from the parent directory by invoking: | ||
# bldscripts/nfbmesbuild.sh | ||
|
||
# Does the same as mesbuild.sh except with the --wrap-mode=nofallback | ||
# option set | ||
|
||
MY_SCRIPT_DIR="$(cd -P "$(dirname "${BASH_SOURCE[0]}")" && pwd)" | ||
|
||
source $MY_SCRIPT_DIR/helpers/messetdirvars.sh | ||
source $MY_SCRIPT_DIR/helpers/adjbuilddirformesbuild.sh | ||
|
||
MESON_BUILD_DIR="$MESON_BUILD_DIR.nfb" | ||
|
||
if [ -e "${MESON_BUILD_DIR}" ] | ||
then | ||
echo "Using existing build dir ${MESON_BUILD_DIR}" | ||
else | ||
meson setup ${MESON_BUILD_DIR} \ | ||
--wrap-mode=nofallback \ | ||
--buildtype=release \ | ||
-DPISTACHE_USE_SSL=true \ | ||
-DPISTACHE_BUILD_EXAMPLES=true \ | ||
-DPISTACHE_BUILD_TESTS=true \ | ||
-DPISTACHE_BUILD_DOCS=false \ | ||
-DPISTACHE_USE_CONTENT_ENCODING_DEFLATE=true \ | ||
-DPISTACHE_USE_CONTENT_ENCODING_BROTLI=true \ | ||
-DPISTACHE_USE_CONTENT_ENCODING_ZSTD=true \ | ||
--prefix="${MESON_PREFIX_DIR}" | ||
fi | ||
|
||
meson compile -C ${MESON_BUILD_DIR} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
0.4.23.20241204 | ||
0.4.24.20241212 |