mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-24 21:38:07 -05:00
gnu: readline: Fix cross-compilation.
* gnu/packages/readline.scm (readline)[arguments]: Add "bash_cv_wcwidth_broken=no" to #:configure-flags when (%current-target-system) is true.
This commit is contained in:
parent
afd1cff148
commit
f6d47eb6d5
1 changed files with 8 additions and 2 deletions
|
@ -1,5 +1,5 @@
|
|||
;;; GNU Guix --- Functional package management for GNU
|
||||
;;; Copyright © 2012, 2013 Ludovic Courtès <ludo@gnu.org>
|
||||
;;; Copyright © 2012, 2013, 2014 Ludovic Courtès <ludo@gnu.org>
|
||||
;;;
|
||||
;;; This file is part of GNU Guix.
|
||||
;;;
|
||||
|
@ -53,7 +53,13 @@ (define-public readline
|
|||
(arguments `(#:configure-flags
|
||||
(list (string-append "LDFLAGS=-Wl,-rpath -Wl,"
|
||||
(assoc-ref %build-inputs "ncurses")
|
||||
"/lib"))
|
||||
"/lib")
|
||||
|
||||
;; This test does an 'AC_TRY_RUN', which aborts when
|
||||
;; cross-compiling, so provide the correct answer.
|
||||
,@(if (%current-target-system)
|
||||
'("bash_cv_wcwidth_broken=no")
|
||||
'()))
|
||||
|
||||
#:phases (alist-cons-after
|
||||
'install 'post-install
|
||||
|
|
Loading…
Reference in a new issue