diff options
-rwxr-xr-x | acprep | 11 |
1 files changed, 11 insertions, 0 deletions
@@ -28,6 +28,17 @@ if [ -z "$PYTHON_VERSION" ]; then fi BOOST_SUFFIX="" +for lib in $(ls -1 /opt/local/lib/libboost_regex*.a \ + /usr/local/lib/libboost_regex*.a 2> /dev/null \ + | sort -r) +do + lib=$(basename "$lib") + BOOST_SUFFIX=$(echo "$lib" | sed 's/libboost_regex-//' | sed 's/\.a//') + echo "Discovered Boost suffix: --boost $BOOST_SUFFIX" + BOOST_SUFFIX="-$BOOST_SUFFIX" + break +done + BOOST_VERSION="1_37" INCDIRS="-isystem /usr/local/include" |