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>
parent
e2397e66e6
commit
334e953c93
|
@ -378,6 +378,12 @@ OpenSSL for TARGET."
|
||||||
;; without causing rebuilds for other targets.
|
;; without causing rebuilds for other targets.
|
||||||
(cond ((string-prefix? "i586" target)
|
(cond ((string-prefix? "i586" target)
|
||||||
"hurd-x86")
|
"hurd-x86")
|
||||||
|
((string-suffix? "mingw32" target)
|
||||||
|
(string-append
|
||||||
|
"mingw"
|
||||||
|
(if (string-prefix? "x86_64" target)
|
||||||
|
"64"
|
||||||
|
"")))
|
||||||
((string-prefix? "i686" target)
|
((string-prefix? "i686" target)
|
||||||
"linux-x86")
|
"linux-x86")
|
||||||
((string-prefix? "x86_64" target)
|
((string-prefix? "x86_64" target)
|
||||||
|
|
Reference in New Issue