Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update boost build to symlink python lib for all 3.x #45

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 3 additions & 9 deletions boost/build.sh
Original file line number Diff line number Diff line change
@@ -30,17 +30,11 @@ echo " : $PREFIX/lib" >> ./project-config.jam
echo " ;" >> ./project-config.jam


# on the Mac, using py34 with at least conda 3.7.3 requires a symlink for the shared library:
if [ $OSX_ARCH == "x86_64" -a $PY_VER == "3.4" ]; then
# on the Mac, using py3 with at least conda 3.7.3 requires a symlink for the shared library:
if [ $OSX_ARCH == "x86_64" -a $PY3K == 1 ]; then
tmpd=$PWD
cd $PREFIX/lib
ln -s libpython3.4m.dylib libpython3.4.dylib
cd $tmpd
fi
if [ $OSX_ARCH == "x86_64" -a $PY_VER == "3.5" ]; then
tmpd=$PWD
cd $PREFIX/lib
ln -s libpython3.5m.dylib libpython3.5.dylib
ln -s libpython${PY_VER}m.dylib libpython${PY_VER}.dylib
cd $tmpd
fi
./b2 -q install \