qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH] remove cross prefix from pkg-config command


From: Stefan Weil
Subject: Re: [Qemu-devel] [PATCH] remove cross prefix from pkg-config command
Date: Tue, 02 Aug 2011 23:01:16 +0200
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.16) Gecko/20110702 Iceowl/1.0b1 Icedove/3.0.11

Am 02.08.2011 22:21, schrieb Stuart yoder:
From: Stuart Yoder <address@hidden>

the host pkg-config tool should be used with the location to
pkg-config *.pc files being specified via the PKG_CONFIG_PATH

Signed-off-by: Stuart Yoder <address@hidden>
---

The Freescale cross build environment is multilib which
means there are special library paths for different
cpu types. pkg-config installed along with the
other cross tools does not work...it has no clue how
to find the right libraries. So using cross-prefix
does no good. Only thing I can get to work is
explicitly setting PKG_CONFIG_PATH before running
configure.

Not sure how other cross build envionments work, but
it seems like the above method should be sufficiently
general.

configure | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)

I run cross builds for arm, mips, powerpc and mingw.
All of them use the cross prefix. When running make,
I neither want to specify a special PATH nor a
PKG_CONFIG_PATH. All I need is something like
"make -C bin/arm" (each cross target has its own
directory with the binaries).

The general idea of your patch is ok, but maybe you
can modify it so the cross prefix is used if there
is no PKG_CONFIG_PATH set?

Regards,
Stefan Weil





reply via email to

[Prev in Thread] Current Thread [Next in Thread]