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>
This commit is contained in:
		
							parent
							
								
									ae63bb5e7d
								
							
						
					
					
						commit
						c880652fec
					
				
					 1 changed files with 7 additions and 0 deletions
				
			
		| 
						 | 
					@ -23,6 +23,7 @@
 | 
				
			||||||
;;; Copyright © 2021 Aleksandr Vityazev <avityazev@posteo.org>
 | 
					;;; Copyright © 2021 Aleksandr Vityazev <avityazev@posteo.org>
 | 
				
			||||||
;;; Copyright © 2022 Maxim Cournoyer <maxim.cournoyer@gmail.com>
 | 
					;;; Copyright © 2022 Maxim Cournoyer <maxim.cournoyer@gmail.com>
 | 
				
			||||||
;;; Copyright © 2023 Janneke Nieuwenhuizen <janneke@gnu.org>
 | 
					;;; Copyright © 2023 Janneke Nieuwenhuizen <janneke@gnu.org>
 | 
				
			||||||
 | 
					;;; Copyright © 2024 Zheng Junjie <873216071@qq.com>
 | 
				
			||||||
;;;
 | 
					;;;
 | 
				
			||||||
;;; This file is part of GNU Guix.
 | 
					;;; This file is part of GNU Guix.
 | 
				
			||||||
;;;
 | 
					;;;
 | 
				
			||||||
| 
						 | 
					@ -236,6 +237,12 @@ generation.")
 | 
				
			||||||
       (base32
 | 
					       (base32
 | 
				
			||||||
        "1r1lvcp67gn5lfrj1g388sd77ca6qwnmxndirdysd71gk362z34f"))))
 | 
					        "1r1lvcp67gn5lfrj1g388sd77ca6qwnmxndirdysd71gk362z34f"))))
 | 
				
			||||||
    (build-system gnu-build-system)
 | 
					    (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
 | 
					    (propagated-inputs
 | 
				
			||||||
     (list libgpg-error pth))
 | 
					     (list libgpg-error pth))
 | 
				
			||||||
    (home-page "https://gnupg.org")
 | 
					    (home-page "https://gnupg.org")
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Reference in a new issue