diff options
author | Ludovic Courtès <ludo@gnu.org> | 2013-05-25 20:12:26 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2013-05-25 20:16:45 +0200 |
commit | f755aa3f7ac7a413d8fcc35b1264aff813cd9313 (patch) | |
tree | 466149e6c017412618b71e34059ddab5981e47b9 /gnu/packages/readline.scm | |
parent | 089b06348e8129980660c69f8122015c1ad6ae9c (diff) | |
download | patches-f755aa3f7ac7a413d8fcc35b1264aff813cd9313.tar patches-f755aa3f7ac7a413d8fcc35b1264aff813cd9313.tar.gz |
gnu: ncurses, readline: Allow cross-compilation.
* gnu/packages/ncurses.scm (ncurses): Add `cross-pre-install-phase'.
Use different phases when (%current-target-system) is true.
* gnu/packages/readline.scm (readline): Use %standard-cross-phases as
the base when (%current-target-system) is true.
Diffstat (limited to 'gnu/packages/readline.scm')
-rw-r--r-- | gnu/packages/readline.scm | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/gnu/packages/readline.scm b/gnu/packages/readline.scm index 8857666fcc..1fb4376971 100644 --- a/gnu/packages/readline.scm +++ b/gnu/packages/readline.scm @@ -61,7 +61,9 @@ #:phases (alist-cons-after 'install 'post-install ,post-install-phase - %standard-phases))) + ,(if (%current-target-system) + '%standard-cross-phases + '%standard-phases)))) (synopsis "Edit command lines while typing, with history support") (description "The GNU Readline library provides a set of functions for use by |