mirror of
https://github.com/cemu-project/vcpkg.git
synced 2025-02-23 11:07:10 +01:00
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:
commit
42450bfdff
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user