gnu: dnsmasq: Fix cross-compilation.
* gnu/packages/dns.scm (dnsmasq)[arguments]: Use PKG-CONFIG-FOR-TARGET. Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
This commit is contained in:
parent
b103d8e490
commit
db7b8d1c9a
|
@ -309,6 +309,7 @@ (define-public dnsmasq
|
||||||
(modify-phases %standard-phases (delete 'configure))
|
(modify-phases %standard-phases (delete 'configure))
|
||||||
#:make-flags (list (string-append "PREFIX=" (assoc-ref %outputs "out"))
|
#:make-flags (list (string-append "PREFIX=" (assoc-ref %outputs "out"))
|
||||||
(string-append "CC=" ,(cc-for-target))
|
(string-append "CC=" ,(cc-for-target))
|
||||||
|
(string-append "PKG_CONFIG=" ,(pkg-config-for-target))
|
||||||
"COPTS=\"-DHAVE_DBUS\"")
|
"COPTS=\"-DHAVE_DBUS\"")
|
||||||
#:tests? #f)) ; no ‘check’ target
|
#:tests? #f)) ; no ‘check’ target
|
||||||
(home-page "http://www.thekelleys.org.uk/dnsmasq/doc.html")
|
(home-page "http://www.thekelleys.org.uk/dnsmasq/doc.html")
|
||||||
|
|
Loading…
Reference in a new issue