Skip to content

Commit

Permalink
[icu] Fix tool path (microsoft#19726)
Browse files Browse the repository at this point in the history
* [icu] Fix tool path

* Update the baseline version

* Apply the review suggestions

Co-authored-by: Billy Robert O'Neal III <[email protected]>
  • Loading branch information
PhoebeHui and BillyONeal authored Sep 7, 2021
1 parent 7fae7f5 commit 6a8dea1
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 3 deletions.
5 changes: 4 additions & 1 deletion ports/icu/portfile.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,10 @@ set(DEBUG_TRIPLET ${TARGET_TRIPLET}-dbg)

if(NOT "${TARGET_TRIPLET}" STREQUAL "${HOST_TRIPLET}")
# cross compiling
list(APPEND CONFIGURE_OPTIONS "--with-cross-build=${_VCPKG_INSTALLED_DIR}/${HOST_TRIPLET}/tools/${PORT}")
set(TOOL_PATH "${CURRENT_HOST_INSTALLED_DIR}/tools/${PORT}")
# convert to unix path
string(REGEX REPLACE "^([a-zA-Z]):/" "/\\1/" _VCPKG_TOOL_PATH "${TOOL_PATH}")
list(APPEND CONFIGURE_OPTIONS "--with-cross-build=${_VCPKG_TOOL_PATH}")
endif()

vcpkg_configure_make(
Expand Down
2 changes: 1 addition & 1 deletion ports/icu/vcpkg.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "icu",
"version": "69.1",
"port-version": 13,
"port-version": 14,
"description": "Mature and widely used Unicode and localization library.",
"homepage": "http://icu-project.org/apiref/icu4c/",
"supports": "!uwp",
Expand Down
2 changes: 1 addition & 1 deletion versions/baseline.json
Original file line number Diff line number Diff line change
Expand Up @@ -2602,7 +2602,7 @@
},
"icu": {
"baseline": "69.1",
"port-version": 13
"port-version": 14
},
"ideviceinstaller": {
"baseline": "1.1.2.23-1",
Expand Down
5 changes: 5 additions & 0 deletions versions/i-/icu.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "2632dd55c20f6830027ae1e167524817b1a9d7ec",
"version": "69.1",
"port-version": 14
},
{
"git-tree": "d8c36cdfe8059aadefd80b2d5800a5d9f3494cd6",
"version": "69.1",
Expand Down

0 comments on commit 6a8dea1

Please sign in to comment.