[boost-modular-build-helper] Remove has_icu.lib (#12417)

* [boost-modular-build-helper] Remove has_icu.lib

* Add quotes
This commit is contained in:
Phoebe 2020-07-16 05:44:01 +08:00 committed by GitHub
parent 075a18b594
commit 9668eea2b4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 10 additions and 1 deletions

View File

@ -1,2 +1,3 @@
Source: boost-modular-build-helper
Version: 1.73.0-1
Version: 1.73.0
Port-Version: 2

View File

@ -386,5 +386,13 @@ function(boost_modular_build)
endif()
endforeach()
# boost-regex[icu] and boost-locale[icu] generate has_icu.lib
if(EXISTS "${CURRENT_PACKAGES_DIR}/debug/lib/has_icu.lib")
file(REMOVE "${CURRENT_PACKAGES_DIR}/debug/lib/has_icu.lib")
endif()
if(EXISTS "${CURRENT_PACKAGES_DIR}/lib/has_icu.lib")
file(REMOVE "${CURRENT_PACKAGES_DIR}/lib/has_icu.lib")
endif()
vcpkg_copy_pdbs()
endfunction()