All of lore.kernel.org
 help / color / mirror / Atom feed
From: Daniel Laird <danieljlaird@hotmail.com>
To: buildroot@busybox.net
Subject: [Buildroot] using pkg-config when building
Date: Thu, 8 Feb 2007 08:36:38 -0800 (PST)	[thread overview]
Message-ID: <8868910.post@talk.nabble.com> (raw)


If I try to use pkg-config when doing a cross-compile it does not work. 
Paths not found etc.

If I make the following modification to package/Makefile.in

@@ -91,6 +91,7 @@
 		OBJCOPY=$(TARGET_CROSS)objcopy \
 		CC_FOR_BUILD="$(HOSTCC)" \
 		PKG_CONFIG_SYSROOT=$(STAGING_DIR) \
+	
PKG_CONFIG_PATH=$(STAGING_DIR)/lib/pkgconfig:$(STAGING_DIR)/usr/lib/pkgconfig:$(STAGING_DIR)/usr/local/lib/pkgconfig
\
 		PKG_CONFIG=$(STAGING_DIR)/usr/bin/pkg-config

 This sets up the search path for pkgconfig and it will search these dirs
for pkgconfig files.  Seems to have made all the difference for me.  Maybe
this can make it into the tree.....

Cheers
Dan
-- 
View this message in context: http://www.nabble.com/using-pkg-config-when-building-tf3194366.html#a8868910
Sent from the BuildRoot mailing list archive at Nabble.com.

                 reply	other threads:[~2007-02-08 16:36 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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

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

  git send-email \
    --in-reply-to=8868910.post@talk.nabble.com \
    --to=danieljlaird@hotmail.com \
    --cc=buildroot@busybox.net \
    /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.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.