Merge pull request #1190 from codicodi/boost-dyn-link-fix

[boost] forcibly undefine BOOST_ALL_DYN_LINK in static builds
This commit is contained in:
Robert Schumacher 2017-05-30 19:27:16 -07:00 committed by GitHub
commit 42450bfdff
2 changed files with 4 additions and 1 deletions

View File

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

View File

@ -221,6 +221,9 @@ file(
file(APPEND ${CURRENT_PACKAGES_DIR}/include/boost/config/user.hpp
"\n#define BOOST_ALL_NO_LIB\n"
)
file(APPEND ${CURRENT_PACKAGES_DIR}/include/boost/config/user.hpp
"\n#undef BOOST_ALL_DYN_LINK\n"
)
if (VCPKG_LIBRARY_LINKAGE STREQUAL dynamic)
file(APPEND ${CURRENT_PACKAGES_DIR}/include/boost/config/user.hpp