use strawberry perl in wsl-as-helper case for openssl
it needs modules that are not available in git-bash perl, and strawberry perl is already used as a way to get windres and similar utilities Might want to revisit that to streamline the dependencies Change-Id: Ieb1c83831292677e9930d376d9d71283c6a1140e Reviewed-on: https://gerrit.libreoffice.org/c/core/+/166342 Tested-by: Jenkins Reviewed-by: Christian Lohmaier <lohmaier+LibreOffice@googlemail.com>
This commit is contained in:
3
external/openssl/ExternalProject_openssl.mk
vendored
3
external/openssl/ExternalProject_openssl.mk
vendored
@@ -62,11 +62,12 @@ OPENSSL_PLATFORM := \
|
||||
ifeq ($(COM),MSC)
|
||||
$(eval $(call gb_ExternalProject_use_nmake,openssl,build))
|
||||
|
||||
$(call gb_ExternalProject_get_state_target,openssl,build): export PERL:=$(if $(MSYSTEM),$(STRAWBERRY_PERL),$(shell cygpath -m $(PERL)))
|
||||
|
||||
$(call gb_ExternalProject_get_state_target,openssl,build):
|
||||
$(call gb_Trace_StartRange,openssl,EXTERNAL)
|
||||
$(call gb_ExternalProject_run,build,\
|
||||
CONFIGURE_INSIST=1 $(PERL) Configure $(OPENSSL_PLATFORM) no-tests no-multilib \
|
||||
&& export PERL="$(shell cygpath -w $(PERL))" \
|
||||
&& nmake -f makefile \
|
||||
$(if $(call gb_Module__symbols_enabled,openssl),DEBUG_FLAGS_VALUE="$(gb_DEBUGINFO_FLAGS)") \
|
||||
)
|
||||
|
Reference in New Issue
Block a user