summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--recipes/openssl.recipe6
1 files changed, 6 insertions, 0 deletions
diff --git a/recipes/openssl.recipe b/recipes/openssl.recipe
index e94126c3..897d644a 100644
--- a/recipes/openssl.recipe
+++ b/recipes/openssl.recipe
@@ -99,6 +99,12 @@ class Recipe(recipe.Recipe):
# mingw-perl that was downloaded and installed by bootstrap.
openssl_path = os.path.join(self.config.mingw_perl_prefix, 'bin')
self.prepend_env('PATH', openssl_path, sep=';')
+ # Ensure that Perl's Filei/Spec.pm uses forward-slashes. These vars
+ # are automatically set by the MSYS terminal, but they might get
+ # overriden by something, which will cause Perl to use backward
+ # slashes and fail `Configurations/unix-checker.pm` on configure.
+ self.set_env('MSYSTEM', 'MINGW32')
+ self.set_env('TERM', 'cygwin')
@async_modify_environment
async def configure(self):