mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-26 22:38:07 -05:00
gnu: tk: Fix cross-compilation.
* gnu/packages/tcl.scm (tk)[arguments]: Add configure flags to fix cross-compilation.
This commit is contained in:
parent
2ce30a37ad
commit
ee4c8c899b
1 changed files with 10 additions and 3 deletions
|
@ -186,9 +186,16 @@ (define-public tk
|
|||
"/lib -lfontconfig")))
|
||||
#t))))
|
||||
|
||||
#:configure-flags (list (string-append "--with-tcl="
|
||||
(assoc-ref %build-inputs "tcl")
|
||||
"/lib"))
|
||||
#:configure-flags
|
||||
(list (string-append "--with-tcl="
|
||||
(assoc-ref %build-inputs "tcl")
|
||||
"/lib")
|
||||
;; This is needed when cross-compiling, see:
|
||||
;; https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=719247
|
||||
,@(if (%current-target-system)
|
||||
'("tcl_cv_strtod_buggy=1"
|
||||
"ac_cv_func_strtod=yes")
|
||||
'()))
|
||||
|
||||
;; The tests require a running X server, so we just skip them.
|
||||
#:tests? #f))
|
||||
|
|
Loading…
Reference in a new issue