HEX
Server: Apache/2.4.46 (Win64) OpenSSL/1.1.1j PHP/8.4.25
System: Windows NT DESKTOP-4TAV2RJ 10.0 build 19045 (Windows 10) AMD64
User: fred (0)
PHP: 8.4.25
Disabled: NONE
Upload Files
File: C:/Users/fred/anaconda3/pkgs/libboost-1.82.0-h3399ecb_2/info/recipe/parent/build.sh
#!/bin/bash

set -x -e
set -o pipefail

. ${RECIPE_DIR}/common.sh

./bootstrap.sh \
    --prefix="${PREFIX}"  \
    --with-icu="${PREFIX}"  \
    --with-toolset=${TOOLSET}  \
    --with-python="${PYTHON}" \
    --with-python-root="${PREFIX} : ${PREFIX}/include/python${PY_VER}m : ${PREFIX}/include/python${PY_VER}"


#this is needed for b2 in order to use conda toolchain instead of system one
cat <<EOF > ${SRC_DIR}/tools/build/src/site-config.jam
    using ${TOOLSET} : : $(basename ${CXX})
              : # options
                  <archiver>$(basename ${AR})
                  <cflags>"${CFLAGS}"
                  <cxxflags>"${CXXFLAGS}"
                  <linkflags>"${LDFLAGS}"
                  <ranlib>$(basename ${RANLIB})
              ;
EOF