unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: Brian Kubisiak <brian@kubisiak.com>
To: 54576@debbugs.gnu.org
Subject: [bug#54576] [PATCH] gnu: dnsmasq: Fix cross-compilation.
Date: Fri, 25 Mar 2022 19:01:25 -0700	[thread overview]
Message-ID: <20220326020125.ljz4ahsvdbfxug2d@peregrine> (raw)

* 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






             reply	other threads:[~2022-03-26  3:02 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-03-26  2:01 Brian Kubisiak [this message]
2022-03-29  8:53 ` bug#54576: [PATCH] gnu: dnsmasq: Fix cross-compilation Mathieu Othacehe

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20220326020125.ljz4ahsvdbfxug2d@peregrine \
    --to=brian@kubisiak.com \
    --cc=54576@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).