Build fix for FreeBSD.

This commit is contained in:
Gunnar Beutner 2013-10-22 17:53:30 +02:00
parent 533c8a8454
commit 9a031efb75
1 changed files with 3 additions and 1 deletions

View File

@ -116,12 +116,14 @@ if test "x$want_boost" = "xyes"; then
break
fi
done
for libsubdir in ${sys_dlsearch_path//:/ }; do
save_IFS=$IFS; IFS=:
for libsubdir in $sys_dlsearch_path; do
if ls "$libsubdir/libboost_"* >/dev/null 2>&1 ; then
BOOST_LDFLAGS="-L$libsubdir"
break
fi
done
IFS=$save_IFS
BOOST_CPPFLAGS="-I$ac_boost_path_tmp/include"
BOOST_PATH="$ac_boost_path_tmp"
break;