From 85f694b366cf21d9fa99599dc9cba88dba01c86b Mon Sep 17 00:00:00 2001 From: codicodi Date: Thu, 27 Apr 2017 12:46:04 +0200 Subject: [PATCH] [icu] fix build with 64bit msys --- ports/icu/CONTROL | 2 +- ports/icu/portfile.cmake | 5 ++++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/ports/icu/CONTROL b/ports/icu/CONTROL index 5e63a841b..3553238f9 100644 --- a/ports/icu/CONTROL +++ b/ports/icu/CONTROL @@ -1,3 +1,3 @@ Source: icu -Version: 59.1 +Version: 59.1-1 Description: Mature and widely used Unicode and localization library. diff --git a/ports/icu/portfile.cmake b/ports/icu/portfile.cmake index 249a6dbc5..11637b061 100644 --- a/ports/icu/portfile.cmake +++ b/ports/icu/portfile.cmake @@ -24,10 +24,13 @@ set(ENV{PATH} "${NEWPATH}") set(BASH ${MSYS_ROOT}/usr/bin/bash.exe) vcpkg_execute_required_process( - COMMAND ${BASH} --noprofile --norc -c "pacman -Sy --noconfirm --needed make" + COMMAND ${BASH} --noprofile --norc -c "pacman -Sy --noconfirm --needed make automake1.15" WORKING_DIRECTORY "${MSYS_ROOT}" LOGNAME "pacman-${TARGET_TRIPLET}") +set(AUTOMAKE_DIR ${MSYS_ROOT}/usr/share/automake-1.15) +file(COPY ${AUTOMAKE_DIR}/config.guess ${AUTOMAKE_DIR}/config.sub DESTINATION ${SOURCE_PATH}/source) + set(CONFIGURE_OPTIONS "--host=i686-pc-mingw32 --disable-samples --disable-tests") if(VCPKG_LIBRARY_LINKAGE STREQUAL dynamic)