mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-24 21:38:07 -05:00
gnu: lmdb: Fix cross-compiling.
* gnu/packages/databases.scm (lmdb)[arguments]: When cross-compiling use the correct CC and AR to produce cross-compiled libraries. Change-Id: Ie93fe88eff1da4949dfdbdedabc670fa56cbc1c9
This commit is contained in:
parent
a977900d76
commit
589afea9e3
1 changed files with 5 additions and 0 deletions
|
@ -2972,6 +2972,11 @@ (define-public lmdb
|
|||
(build-system gnu-build-system)
|
||||
(arguments
|
||||
`(#:test-target "test"
|
||||
;; TODO: Make this unconditional on core-updates.
|
||||
,@(if (%current-target-system)
|
||||
`(#:make-flags `(,(string-append "CC=" ,(cc-for-target))
|
||||
,(string-append "AR=" ,(ar-for-target))))
|
||||
'())
|
||||
#:phases
|
||||
(modify-phases %standard-phases
|
||||
(replace 'configure
|
||||
|
|
Loading…
Reference in a new issue