diff options
author | Zheng Junjie <zhengjunjie@iscas.ac.cn> | 2024-01-01 13:59:09 +0800 |
---|---|---|
committer | Mathieu Othacehe <othacehe@gnu.org> | 2024-01-03 15:32:01 +0100 |
commit | c880652fec3303c0d57c076f7187d95d9396983f (patch) | |
tree | 1c86c7989662cc13ed5e9bec16fda2aa0e6ca125 /gnu/packages | |
parent | ae63bb5e7de70011d8861c23ebabc946210ec56f (diff) |
gnu: libassuan: Fix cross-compiling.
gnu/packages/gnupg.scm(libassuan):
[arguments]: When cross-compiling, set the --with-libgpg-error-prefix configure option.
Change-Id: I320c48f320c34939a8e94589610beb5c40fdf53a
Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
Diffstat (limited to 'gnu/packages')
-rw-r--r-- | gnu/packages/gnupg.scm | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/gnu/packages/gnupg.scm b/gnu/packages/gnupg.scm index 73e9c3a78a..a6ba57d7f3 100644 --- a/gnu/packages/gnupg.scm +++ b/gnu/packages/gnupg.scm @@ -23,6 +23,7 @@ ;;; Copyright © 2021 Aleksandr Vityazev <avityazev@posteo.org> ;;; Copyright © 2022 Maxim Cournoyer <maxim.cournoyer@gmail.com> ;;; Copyright © 2023 Janneke Nieuwenhuizen <janneke@gnu.org> +;;; Copyright © 2024 Zheng Junjie <873216071@qq.com> ;;; ;;; This file is part of GNU Guix. ;;; @@ -236,6 +237,12 @@ generation.") (base32 "1r1lvcp67gn5lfrj1g388sd77ca6qwnmxndirdysd71gk362z34f")))) (build-system gnu-build-system) + (arguments (if (%current-target-system) + (list #:configure-flags + #~(list (string-append + "--with-libgpg-error-prefix=" + #$(this-package-input "libgpg-error")))) + '())) (propagated-inputs (list libgpg-error pth)) (home-page "https://gnupg.org") |