mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-12 14:16:55 -05:00
gnu: isc-dhcp: Fix cross-compiling to riscv64-linux.
* gnu/packages/admin.scm (isc-dhcp)[arugments]: Split custom 'update-config-scripts phase to substitute one set of config scripts earlier in the build process.
This commit is contained in:
parent
be810d414f
commit
e7532d281b
1 changed files with 4 additions and 2 deletions
|
@ -1382,14 +1382,16 @@ (define-public isc-dhcp
|
|||
;; build system uses the built 'gen' executable.
|
||||
(setenv "BUILD_CC" "gcc"))))
|
||||
'())
|
||||
(add-before 'build 'update-config-scripts
|
||||
(add-before 'configure 'update-config-scripts
|
||||
(lambda* (#:key native-inputs inputs #:allow-other-keys)
|
||||
(for-each (lambda (file)
|
||||
(install-file
|
||||
(search-input-file
|
||||
(or native-inputs inputs)
|
||||
(string-append "/bin/" file)) "."))
|
||||
'("config.guess" "config.sub"))
|
||||
'("config.guess" "config.sub"))))
|
||||
(add-before 'build 'update-config-scripts-for-bind
|
||||
(lambda* (#:key native-inputs inputs #:allow-other-keys)
|
||||
(for-each (lambda (file)
|
||||
(install-file
|
||||
(search-input-file
|
||||
|
|
Loading…
Reference in a new issue