GNU bug report logs - #54576
[PATCH] gnu: dnsmasq: Fix cross-compilation.

Previous Next

Package: guix-patches;

Reported by: Brian Kubisiak <brian <at> kubisiak.com>

Date: Sat, 26 Mar 2022 03:02:01 UTC

Severity: normal

Tags: patch

Done: Mathieu Othacehe <othacehe <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Brian Kubisiak <brian <at> kubisiak.com>
To: guix-patches <at> gnu.org
Subject: [PATCH] gnu: dnsmasq: Fix cross-compilation.
Date: Fri, 25 Mar 2022 19:01:25 -0700
* gnu/packages/dns.scm (dnsmasq)[arguments]: Use PKG-CONFIG-FOR-TARGET.
---
 gnu/packages/dns.scm | 1 +
 1 file changed, 1 insertion(+)

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






This bug report was last modified 3 years and 57 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.