guix-commits
[Top][All Lists]
Advanced

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

47/85: gnu: openssl: Build fix for the Hurd.


From: guix-commits
Subject: 47/85: gnu: openssl: Build fix for the Hurd.
Date: Thu, 15 Jun 2023 02:32:41 -0400 (EDT)

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

commit afcc67fb36fb695eb898ed13228a924c609be35e
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 d162094ed4..b891329811 100644
--- a/gnu/packages/tls.scm
+++ b/gnu/packages/tls.scm
@@ -586,7 +586,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]