File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed
Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -37,7 +37,7 @@ elif [ "$(uname)" == "Darwin" ]; then
3737
3838 ./b2 install --prefix=${BOOST_PREFIX} --with=all -d0 \
3939 cxxflags=" -mmacosx-version-min=${MACOSX_DEPLOYMENT_TARGET} " \
40- linkflags=" -mmacosx-version-min=${MACOSX_DEPLOYMENT_TARGET} -Wl,-rpath, ${BOOST_LIBRARYDIR} "
40+ linkflags=" -mmacosx-version-min=${MACOSX_DEPLOYMENT_TARGET} "
4141fi
4242cd ..
4343
@@ -48,7 +48,7 @@ export BOOST_LIBRARYDIR="${BOOST_PREFIX}/lib"
4848
4949# Ensure runtime linker can find Boost libraries
5050export LD_LIBRARY_PATH=" ${BOOST_LIBRARYDIR} :$LD_LIBRARY_PATH " # For Linux
51- export DYLD_LIBRARY_PATH =" ${BOOST_LIBRARYDIR} :$DYLD_LIBRARY_PATH " # For macOS
51+ export REPAIR_LIBRARY_PATH =" ${BOOST_LIBRARYDIR} :$DYLD_LIBRARY_PATH " # For macOS
5252
5353$( which $PYTHON ) -m pip install -r $PROJECT_DIR /python/dev_requirements.txt
5454
Original file line number Diff line number Diff line change @@ -147,6 +147,7 @@ jobs:
147147 CIBW_ARCHS : all
148148 CIBW_ENVIRONMENT_PASS_LINUX : DEVELOP TIMESTAMP
149149 MACOSX_DEPLOYMENT_TARGET : 10.15
150+ CIBW_REPAIR_WHEEL_COMMAND_MACOS : DYLD_LIBRARY_PATH=$REPAIR_LIBRARY_PATH delocate-wheel --require-archs {delocate_archs} -w {dest_dir} -v {wheel}
150151
151152 # Use build instead of pip wheel to build the wheels. This is recommended by PyPA.
152153 # See https://cibuildwheel.pypa.io/en/stable/options/#build-frontend.
You can’t perform that action at this time.
0 commit comments