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:
Brian Kubisiak 2022-03-25 19:01:25 -07:00 committed by Mathieu Othacehe
parent b103d8e490
commit db7b8d1c9a
No known key found for this signature in database
GPG key ID: 8354763531769CA6

View file

@ -309,6 +309,7 @@ (define-public dnsmasq
(modify-phases %standard-phases (delete 'configure))
#:make-flags (list (string-append "PREFIX=" (assoc-ref %outputs "out"))
(string-append "CC=" ,(cc-for-target))
(string-append "PKG_CONFIG=" ,(pkg-config-for-target))
"COPTS=\"-DHAVE_DBUS\"")
#:tests? #f)) ; no check target
(home-page "http://www.thekelleys.org.uk/dnsmasq/doc.html")