summaryrefslogtreecommitdiffstats
path: root/libs/boost/BUILD
diff options
context:
space:
mode:
Diffstat (limited to 'libs/boost/BUILD')
-rwxr-xr-xlibs/boost/BUILD9
1 files changed, 5 insertions, 4 deletions
diff --git a/libs/boost/BUILD b/libs/boost/BUILD
index 51005eb094..ebf504d3f7 100755
--- a/libs/boost/BUILD
+++ b/libs/boost/BUILD
@@ -3,19 +3,20 @@
#
CXXFLAGS="-Wno-strict-aliasing $CXXFLAGS" &&
+local BOOST_LIBS="${BOOST_LIBS_AL} ${BOOST_LIBS_MZ}" &&
local BLIST="" &&
local BL &&
-if list_find "${BOOST_LIBS}" "all" ; then
+if [[ $BOOST_SELECT_LIBS == "n" ]]; then
BLIST=""
else
local SEP=" --with-" &&
- for BL in $BOOST_LIBS $BOOST_OPTS1 ;do
+ for BL in $BOOST_LIBS $BOOST_OPTS1 ; do
BL=${BL// /} &&
BLIST="${BLIST}${SEP}${BL}"
done
fi &&
-if list_find "${BOOST_LIBS}" "graph" ||
- list_find "${BOOST_LIBS}" "all" ; then
+if list_find "${BOOST_LIBS}" "graph" ||
+ [[ $BOOST_SELECT_LIBS == "n" ]]; then
local EXPAT_INCLUDE=/usr/lib
local EXPAT_LIBPATH=/usr/include
fi &&