Skip to content

Commit

Permalink
[boost-modular-build-helper] Fix build fail due to missing library fi…
Browse files Browse the repository at this point in the history
…le (microsoft#13407)

Set correct library suffixes for mingw builds (.dll.a instead of default .so)
  • Loading branch information
bialasjaroslaw authored Sep 28, 2020
1 parent 97e85bb commit 0f8f948
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion ports/boost-modular-build-helper/CONTROL
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Source: boost-modular-build-helper
Version: 1.73.0
Port-Version: 5
Port-Version: 6
Build-Depends: boost-uninstall
3 changes: 3 additions & 0 deletions ports/boost-modular-build-helper/boost-modular-build.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,9 @@ function(boost_modular_build)
elseif(VCPKG_CMAKE_SYSTEM_NAME STREQUAL "Darwin")
set(BOOST_LIB_RELEASE_SUFFIX .dylib)
set(BOOST_LIB_DEBUG_SUFFIX .dylib)
elseif(VCPKG_CMAKE_SYSTEM_NAME STREQUAL "MinGW")
set(BOOST_LIB_RELEASE_SUFFIX .dll.a)
set(BOOST_LIB_DEBUG_SUFFIX .dll.a)
else()
set(BOOST_LIB_RELEASE_SUFFIX .so)
set(BOOST_LIB_DEBUG_SUFFIX .so)
Expand Down

0 comments on commit 0f8f948

Please sign in to comment.