[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
24/52: gnu: heimdal: Fix linking error when cross-compiling.
From: |
guix-commits |
Subject: |
24/52: gnu: heimdal: Fix linking error when cross-compiling. |
Date: |
Mon, 20 Sep 2021 07:19:33 -0400 (EDT) |
mothacehe pushed a commit to branch core-updates-frozen
in repository guix.
commit f706689a8d9da4abff783c71beb0b4eb4eb5615d
Author: Maxime Devos <maximedevos@telenet.be>
AuthorDate: Tue Aug 24 22:19:11 2021 +0200
gnu: heimdal: Fix linking error when cross-compiling.
* gnu/packages/kerberos.scm (heimdal)[arguments]<#:configure-flags>:
Set ac_cv_func_getpwnam_r_posix=yes when cross-compiling.
---
gnu/packages/kerberos.scm | 9 +++++++--
1 file changed, 7 insertions(+), 2 deletions(-)
diff --git a/gnu/packages/kerberos.scm b/gnu/packages/kerberos.scm
index 6f3491a..54dd5df 100644
--- a/gnu/packages/kerberos.scm
+++ b/gnu/packages/kerberos.scm
@@ -207,7 +207,7 @@ After installation, the system administrator should
generate keys using
#t))))
(build-system gnu-build-system)
(arguments
- '(#:configure-flags (list
+ `(#:configure-flags (list
;; Avoid 7 MiB of .a files.
"--disable-static"
@@ -222,8 +222,13 @@ After installation, the system administrator should
generate keys using
;; Do not build sqlite.
(string-append
"--with-sqlite3="
- (assoc-ref %build-inputs "sqlite")))
+ (assoc-ref %build-inputs "sqlite"))
+ ;; The configure script is too pessimistic.
+ ;; Setting this also resolves a linking error.
+ ,@(if (%current-target-system)
+ '("ac_cv_func_getpwnam_r_posix=yes")
+ '()))
#:phases (modify-phases %standard-phases
(add-before 'configure 'pre-configure
(lambda _
- branch core-updates-frozen updated (4bacf9c -> aacaa22), guix-commits, 2021/09/20
- 02/52: gnu: elogind: Make #:configure-flags a G-exp., guix-commits, 2021/09/20
- 01/52: gnu: dbus-glib: Support cross-compilation., guix-commits, 2021/09/20
- 07/52: gnu: nspr: Don't retain references to native inputs., guix-commits, 2021/09/20
- 11/52: build-system/glib-or-gtk: Support cross-compilaton., guix-commits, 2021/09/20
- 23/52: gnu: heimdal: Fix inputs when cross-compiling., guix-commits, 2021/09/20
- 24/52: gnu: heimdal: Fix linking error when cross-compiling.,
guix-commits <=
- 12/52: gnu: dbus-cairo: Add missing bash-minimal input., guix-commits, 2021/09/20
- 18/52: gnu: bdb: Fix cross-compilation build errors., guix-commits, 2021/09/20
- 06/52: gnu: nspr: Adjust to Mozilla cross-compilation conventions., guix-commits, 2021/09/20
- 13/52: gnu: polkit: Prevent cross-compilation build error., guix-commits, 2021/09/20
- 17/52: gnu: atk: Disable introspection when cross-compiling., guix-commits, 2021/09/20
- 16/52: gobject-introspection: Correct library name when cross-compiling., guix-commits, 2021/09/20
- 34/52: gnu: libdaemon: Support cross-compilation to aarch64-linux-gnu., guix-commits, 2021/09/20
- 35/52: gnu: avahi: Find 'TARGET-pkg-config' when cross-compiling., guix-commits, 2021/09/20
- 28/52: gnu: heimdal: Use libcom_err from input when cross-compiling., guix-commits, 2021/09/20
- 21/52: gnu: gamin: Fix 'configure' script when cross-compiling., guix-commits, 2021/09/20