[PATCH] gnu: dnsmasq: Fix cross-compilation.

DoneSubmitted by Brian Kubisiak.
Details
2 participants
  • Brian Kubisiak
  • Mathieu Othacehe
Owner
unassigned
Severity
normal
B
B
Brian Kubisiak wrote on 26 Mar 03:01 +0100
(address . guix-patches@gnu.org)
20220326020125.ljz4ahsvdbfxug2d@peregrine
* gnu/packages/dns.scm (dnsmasq)[arguments]: Use PKG-CONFIG-FOR-TARGET.
---
gnu/packages/dns.scm | 1 +
1 file changed, 1 insertion(+)

Toggle diff (14 lines)
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 @@ (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")
-- 
2.34.0
M
M
Mathieu Othacehe wrote on 29 Mar 10:53 +0200
(name . Brian Kubisiak)(address . brian@kubisiak.com)(address . 54576-done@debbugs.gnu.org)
87o81p6sxj.fsf@gnu.org
Toggle quote (2 lines)
> * gnu/packages/dns.scm (dnsmasq)[arguments]: Use PKG-CONFIG-FOR-TARGET.

Pushed, thanks!

Mathieu
Closed
?
Your comment

This issue is archived.

To comment on this conversation send email to 54576@debbugs.gnu.org