mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-29 03:34:26 +08:00
[openssl] Fix error in msys call to perform the perl installation.
This commit is contained in:
parent
5e9ac8a25b
commit
9a87ee9c9d
@ -29,9 +29,20 @@ include(vcpkg_common_functions)
|
||||
|
||||
set(SOURCE_PATH ${CURRENT_BUILDTREES_DIR}/src/openssl-OpenSSL_1_0_2l_WinRT)
|
||||
|
||||
vcpkg_find_acquire_program(PERL)
|
||||
vcpkg_find_acquire_program(JOM)
|
||||
get_filename_component(JOM_EXE_PATH ${JOM} DIRECTORY)
|
||||
|
||||
vcpkg_acquire_msys(MSYS_ROOT)
|
||||
set(BASH ${MSYS_ROOT}/usr/bin/bash.exe)
|
||||
|
||||
vcpkg_execute_required_process(
|
||||
COMMAND ${BASH} --noprofile --norc -c 'PATH=/usr/bin:\$PATH pacman -Sy --noconfirm --needed perl'
|
||||
WORKING_DIRECTORY ${MSYS_ROOT}
|
||||
LOGNAME pacman-${TARGET_TRIPLET}
|
||||
)
|
||||
|
||||
set(PERL ${MSYS_ROOT}/usr/bin/perl.exe)
|
||||
|
||||
get_filename_component(PERL_EXE_PATH ${PERL} DIRECTORY)
|
||||
set(ENV{PATH} "$ENV{PATH};${PERL_EXE_PATH};${JOM_EXE_PATH}")
|
||||
|
||||
|
@ -14,7 +14,7 @@ vcpkg_acquire_msys(MSYS_ROOT)
|
||||
set(BASH ${MSYS_ROOT}/usr/bin/bash.exe)
|
||||
|
||||
vcpkg_execute_required_process(
|
||||
COMMAND ${BASH} --noprofile --norc -c "PATH=/usr/bin:\$PATH;pacman -Sy --noconfirm --needed perl"
|
||||
COMMAND ${BASH} --noprofile --norc -c 'PATH=/usr/bin:\$PATH pacman -Sy --noconfirm --needed perl'
|
||||
WORKING_DIRECTORY ${MSYS_ROOT}
|
||||
LOGNAME pacman-${TARGET_TRIPLET}
|
||||
)
|
||||
|
@ -32,7 +32,7 @@
|
||||
## vcpkg_execute_required_process(
|
||||
## COMMAND
|
||||
## ${BASH} --noprofile --norc -c
|
||||
## "PATH=/usr/bin:\$PATH;pacman -Sy --noconfirm --needed make"
|
||||
## 'PATH=/usr/bin:\$PATH pacman -Sy --noconfirm --needed make'
|
||||
## WORKING_DIRECTORY ${MSYS_ROOT}
|
||||
## LOGNAME pacman-${TARGET_TRIPLET})
|
||||
## ```
|
||||
|
Loading…
x
Reference in New Issue
Block a user