Package: pkg-config
Version: 0.26-1
Severity: normal

Hello,

AIUI, the usual way to cross-build is
$ ./configure --host=foo-bar
$ make
$ make install

autoconf properly finds the cross-compiler etc. but pkg-config continues
to use the default /usr/lib/pkgconfig, and thus ./configure finds
libraries from the build system, not from the host system.

I'm thus using

$ PKG_CONFIG_LIBDIR=/usr/foo-bar/lib/pkgconfig ./configure

but pkg.m4 should do this itself.

Samuel

-- System Information:
Debian Release: wheezy/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable'), (500, 'stable'), (1, 
'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.39 (SMP w/2 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages pkg-config depends on:
ii  libc6                         2.13-4     Embedded GNU C Library: Shared lib
ii  libglib2.0-0                  2.28.6-1   The GLib library of C routines
ii  libpopt0                      1.16-1     lib for parsing cmdline parameters

pkg-config recommends no packages.

pkg-config suggests no packages.

-- no debconf information

-- 
Samuel Thibault <[email protected]>
Hi ! I'm a .signature virus ! Copy me into your ~/.signature, please !



-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to