guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

07/09: gnu: openssl: Cross-compile to mingw.


From: guix-commits
Subject: 07/09: gnu: openssl: Cross-compile to mingw.
Date: Thu, 4 Aug 2022 18:16:09 -0400 (EDT)

civodul pushed a commit to branch master
in repository guix.

commit 334e953c93f470d6b289fb259e9b7bea3638e36a
Author: Vivien Kraus <vivien@planete-kraus.eu>
AuthorDate: Sat Jul 9 23:39:16 2022 +0200

    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>
---
 gnu/packages/tls.scm | 6 ++++++
 1 file changed, 6 insertions(+)

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)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]