guix-commits
[Top][All Lists]
Advanced

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

20/67: gnu: openssl: Build fix for the Hurd.


From: guix-commits
Subject: 20/67: gnu: openssl: Build fix for the Hurd.
Date: Tue, 18 Jul 2023 09:27:15 -0400 (EDT)

janneke pushed a commit to branch hurd-team
in repository guix.

commit ca5e3b79d17d6b99b7db3a4fb12da1a851283dca
Author: Janneke Nieuwenhuizen <janneke@gnu.org>
AuthorDate: Mon Jun 5 16:21:19 2023 +0200

    gnu: openssl: Build fix for the Hurd.
    
    * gnu/packages/tls.scm (openssl-3.0)[arguments]: When building on the Hurd,
    add "hurd-x86" to #:configure-flags.
---
 gnu/packages/tls.scm | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/tls.scm b/gnu/packages/tls.scm
index d94b7c27f5..e8ed0d61a4 100644
--- a/gnu/packages/tls.scm
+++ b/gnu/packages/tls.scm
@@ -585,7 +585,13 @@ OpenSSL for TARGET."
               (lambda* (#:key native-inputs inputs #:allow-other-keys)
                 (setenv "HASHBANGPERL"
                         (search-input-file (or native-inputs inputs)
-                                           "/bin/perl"))))))))
+                                           "/bin/perl"))))))
+       ((#:configure-flags flags #~'())
+        (if (target-hurd? (%current-system))
+            #~(append
+               #$flags
+               '("hurd-x86"))
+            flags))))
     (license license:asl2.0)))
 
 (define-public openssl openssl-3.0)



reply via email to

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