diff options
| author | codicodi <rob.ceglinski@gmail.com> | 2017-05-29 21:36:10 +0200 |
|---|---|---|
| committer | codicodi <rob.ceglinski@gmail.com> | 2017-05-29 21:36:10 +0200 |
| commit | 72eb21a5151fc806a0e10c060253f8e3ad08b6a5 (patch) | |
| tree | 08e981667c397a65516bd1566ad43734fc3f1756 | |
| parent | 39b69e5b06df309b9dcfea55296a4c2c3eea93ce (diff) | |
| download | vcpkg-72eb21a5151fc806a0e10c060253f8e3ad08b6a5.tar.gz vcpkg-72eb21a5151fc806a0e10c060253f8e3ad08b6a5.zip | |
[boost] forcibly undefine BOOST_ALL_DYN_LINK in static builds
| -rw-r--r-- | ports/boost/CONTROL | 2 | ||||
| -rw-r--r-- | ports/boost/portfile.cmake | 3 |
2 files changed, 4 insertions, 1 deletions
diff --git a/ports/boost/CONTROL b/ports/boost/CONTROL index ec2e77ffa..964665b96 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 79c2f02da..b8d56ee90 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 |
