* [Buildroot] using pkg-config when building
@ 2007-02-08 16:36 Daniel Laird
0 siblings, 0 replies; only message in thread
From: Daniel Laird @ 2007-02-08 16:36 UTC (permalink / raw)
To: buildroot
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.
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2007-02-08 16:36 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-02-08 16:36 [Buildroot] using pkg-config when building Daniel Laird
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox