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.
This commit is contained in:
Janneke Nieuwenhuizen 2023-06-05 16:21:19 +02:00
parent da9e4fd434
commit 378766dd2e
No known key found for this signature in database
GPG Key ID: F3C1A0D9C1D65273

View File

@ -585,7 +585,12 @@ 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 (system-hurd?)
#~(append #$flags '("hurd-x86")) ;must not be used when
;cross-compiling!
flags))))
(license license:asl2.0)))
(define-public openssl openssl-3.0)