diff options
Diffstat (limited to 'gnu/packages/base.scm')
-rw-r--r-- | gnu/packages/base.scm | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/gnu/packages/base.scm b/gnu/packages/base.scm index 689ab2d3c3..d0ef06209f 100644 --- a/gnu/packages/base.scm +++ b/gnu/packages/base.scm @@ -530,7 +530,10 @@ store.") ,version) (string-append "--with-headers=" - (assoc-ref %build-inputs "kernel-headers") + (assoc-ref ,(if (%current-target-system) + '%build-target-inputs + '%build-inputs) + "kernel-headers") "/include") ;; This is the default for most architectures as of GNU libc 2.21, |