Skip to content

Commit

Permalink
Configure b2 for Windows Fibers
Browse files Browse the repository at this point in the history
  • Loading branch information
nat-goodspeed committed Nov 21, 2024
1 parent e999cbf commit 4482c4b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion build-cmd.sh
Original file line number Diff line number Diff line change
Expand Up @@ -298,14 +298,15 @@ case "$AUTOBUILD_PLATFORM" in
"-sZLIB_INCLUDE=$INCLUDE_PATH/zlib-ng"
cxxflags=/FS
cxxflags=/DBOOST_STACKTRACE_LINK
cxxflags=/DBOOST_USE_WINFIB
"${BOOST_BJAM_OPTIONS[@]}")

RELEASE_BJAM_OPTIONS=("${WINDOWS_BJAM_OPTIONS[@]}"
"-sZLIB_LIBPATH=$ZLIB_RELEASE_PATH"
"-sZLIB_LIBRARY_PATH=$ZLIB_RELEASE_PATH"
"-sZLIB_NAME=zlib")
sep "build"
"${bjam}" link=static variant=release \
"${bjam}" link=static variant=release context-impl=winfib \
--prefix="$(native "${stage}")" --libdir="$(native "${stage_release}")" \
"${RELEASE_BJAM_OPTIONS[@]}" $BOOST_BUILD_SPAM stage

Expand Down

0 comments on commit 4482c4b

Please sign in to comment.