summaryrefslogtreecommitdiff
path: root/gnu/packages/dns.scm
diff options
context:
space:
mode:
authorBrian Kubisiak <brian@kubisiak.com>2022-03-25 19:01:25 -0700
committerMathieu Othacehe <othacehe@gnu.org>2022-03-29 10:52:45 +0200
commitdb7b8d1c9aa7df277695c5f07673ecddf88c9ab5 (patch)
treebc094c459e428ae8f9ec6280817380e861cc9dbc /gnu/packages/dns.scm
parentb103d8e4908baff6d048e3936aaa7a9c5be3ffa9 (diff)
gnu: dnsmasq: Fix cross-compilation.
* gnu/packages/dns.scm (dnsmasq)[arguments]: Use PKG-CONFIG-FOR-TARGET. Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
Diffstat (limited to 'gnu/packages/dns.scm')
-rw-r--r--gnu/packages/dns.scm1
1 files changed, 1 insertions, 0 deletions
diff --git a/gnu/packages/dns.scm b/gnu/packages/dns.scm
index afea1aaf86..dacada7897 100644
--- a/gnu/packages/dns.scm
+++ b/gnu/packages/dns.scm
@@ -309,6 +309,7 @@ prompt the user with the option to go with insecure DNS only.")
(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")