me
/
guix
Archived
1
0
Fork 0

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>
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
1 changed files with 6 additions and 0 deletions

View File

@ -378,6 +378,12 @@ OpenSSL for 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)