Package: pkg-config Version: 0.16.0-1 Severity: normal
This is related to 217902 but not exactly the same. To cross-compile with pkg-config I simply want to tell pkg-config to use a different default/base search directory. So instead of searching in /usr/lib/pkgconfig/ I want it to look in /usr/i586-mingw32msvc/lib/pkgconfig. I don't want it to look in /usr/lib/pkgconfig/ at all. According to the manual this should be possible using PKG_CONFIG_LIBDIR. >From the manual: PKG_CONFIG_LIBDIR Replaces the default pkg-config search directory. but this flat-out doesn't seem to work. It doesn't replace the default search directory but (at best) adds a new default search directory. For instance I can do > export PKG_CONFIG_LIBDIR="/usr/i586-mingw32msvc/lib/pkgconfig" > pkg-config --modversion gtk+-2.0 2.6.2 even though GTK is only installed system-wide; it's not in that libdir. This seems like a flat-out bug in pkg-config. -- System Information: Debian Release: 3.1 APT prefers unstable APT policy: (500, 'unstable') Architecture: i386 (i686) Kernel: Linux 2.6.8-2-686 Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1) Versions of packages pkg-config depends on: ii libc6 2.3.2.ds1-20 GNU C Library: Shared libraries an -- no debconf information -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]