mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-25 05:48:07 -05:00
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:
parent
e2397e66e6
commit
334e953c93
1 changed files with 6 additions and 0 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue