diff options
author | Vivien Kraus <vivien@planete-kraus.eu> | 2022-07-09 23:39:16 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2022-08-05 00:14:30 +0200 |
commit | 334e953c93f470d6b289fb259e9b7bea3638e36a (patch) | |
tree | b4742c9c661ff3fe6fd6a97be0a27782032b37c4 /gnu/packages/tls.scm | |
parent | e2397e66e6d6f0d67152b87b7ec8debee3687c53 (diff) | |
download | guix-334e953c93f470d6b289fb259e9b7bea3638e36a.tar.gz |
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>
Diffstat (limited to 'gnu/packages/tls.scm')
-rw-r--r-- | gnu/packages/tls.scm | 6 |
1 files changed, 6 insertions, 0 deletions
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 @@ 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) |