[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Cross compiling with pkg.m4
From: |
John Darrington |
Subject: |
Cross compiling with pkg.m4 |
Date: |
Sun, 20 Apr 2008 17:44:21 +0800 |
User-agent: |
Mutt/1.5.13 (2006-08-11) |
pkg.m4 doesn't behave in a very rational way, when configured with
--host=xyzzy
All the PKG_CHECK_MODULES macros continue to find the local modules,
not the ones for target xyzzy. Consequently, the build fails when
the compiler/linker can't find the header/library for the necessary
packages.
Of course, one can get around this by setting the PKG_CONFIG_LIBDIR
environment variable prior to running ./configure but I think that
most people won't know that it's necessary, and it seems redundant to
me, because of the --host flag.
Shouldn't PKG_CONFIG_* find only packages pertaining to
the target architecture?
J'
--
PGP Public key ID: 1024D/2DE827B3
fingerprint = 8797 A26D 0854 2EAB 0285 A290 8A67 719C 2DE8 27B3
See http://pgp.mit.edu or any PGP keyserver for public key.
signature.asc
Description: Digital signature
- Cross compiling with pkg.m4,
John Darrington <=