gnu: openssl: Cross-compile to mingw.

* gnu/packages/tls.scm (target->openssl-target): Add cases for mingw and
mingw64.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
This commit is contained in:
Vivien Kraus 2022-07-09 23:39:16 +02:00 committed by Ludovic Courtès
parent e2397e66e6
commit 334e953c93
No known key found for this signature in database
GPG key ID: 090B11993D9AEBB5

View file

@ -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)