mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-27 04:59:27 -05:00
libgpg-error: Fix cross-compilation error.
TODO: inform upstream about the cross-compilation error. * gnu/packages/gnupg.scm (libgpg-error)[arguments]{fix-gen-lock-obj.sh}: Prevent generated header files from being sprinkled with ‘\c’. Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
This commit is contained in:
parent
deb4f0a595
commit
ad7c6d290e
1 changed files with 7 additions and 0 deletions
|
@ -100,6 +100,13 @@ (define-public libgpg-error
|
|||
(guix build utils))
|
||||
#:phases
|
||||
(modify-phases %standard-phases
|
||||
;; If this is left out, some generated header
|
||||
;; files will be sprinkled with ‘\c’, which
|
||||
;; the compiler won't like.
|
||||
(add-after 'unpack 'fix-gen-lock-obj.sh
|
||||
(lambda _
|
||||
(substitute* "src/gen-lock-obj.sh"
|
||||
(("if test -n `echo -n`") "if ! test -n `echo -n`"))))
|
||||
;; When cross-compiling, some platform specific properties cannot
|
||||
;; be detected. Create a symlink to the appropriate platform
|
||||
;; file if required. Note that these platform files depend on
|
||||
|
|
Loading…
Reference in a new issue