diff --git a/ports/boost/CONTROL b/ports/boost/CONTROL index ec2e77ffab9f81..964665b9613245 100644 --- a/ports/boost/CONTROL +++ b/ports/boost/CONTROL @@ -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 diff --git a/ports/boost/portfile.cmake b/ports/boost/portfile.cmake index 79c2f02da6ecbb..b8d56ee90d8a59 100644 --- a/ports/boost/portfile.cmake +++ b/ports/boost/portfile.cmake @@ -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