[boost] Only define BOOST_ALL_NO_LIB if not already defined. Fixes #2061.

This commit is contained in:
Robert Schumacher 2017-10-27 23:55:48 -07:00
parent a7f3ab84f0
commit da04e942f2
2 changed files with 2 additions and 2 deletions

View File

@ -1,5 +1,5 @@
Source: boost
Version: 1.65.1-2
Version: 1.65.1-3
Description: Peer-reviewed portable C++ source libraries
Build-Depends: zlib, bzip2

View File

@ -258,7 +258,7 @@ file(
# Disable Boost auto-link.
file(APPEND ${CURRENT_PACKAGES_DIR}/include/boost/config/user.hpp
"\n#define BOOST_ALL_NO_LIB\n"
"\n#ifndef BOOST_ALL_NO_LIB\n#define BOOST_ALL_NO_LIB\n#endif\n"
)
file(APPEND ${CURRENT_PACKAGES_DIR}/include/boost/config/user.hpp
"\n#undef BOOST_ALL_DYN_LINK\n"