From 334e953c93f470d6b289fb259e9b7bea3638e36a Mon Sep 17 00:00:00 2001 From: Vivien Kraus Date: Sat, 9 Jul 2022 23:39:16 +0200 Subject: gnu: openssl: Cross-compile to mingw. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * gnu/packages/tls.scm (target->openssl-target): Add cases for mingw and mingw64. Signed-off-by: Ludovic Courtès --- gnu/packages/tls.scm | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'gnu/packages') diff --git a/gnu/packages/tls.scm b/gnu/packages/tls.scm index 697d9d1d36..a310899b27 100644 --- a/gnu/packages/tls.scm +++ b/gnu/packages/tls.scm @@ -378,6 +378,12 @@ (define (target->openssl-target target) ;; without causing rebuilds for other targets. (cond ((string-prefix? "i586" target) "hurd-x86") + ((string-suffix? "mingw32" target) + (string-append + "mingw" + (if (string-prefix? "x86_64" target) + "64" + ""))) ((string-prefix? "i686" target) "linux-x86") ((string-prefix? "x86_64" target) -- cgit v1.2.3