cross compiling, pc files and `PKG_CONFIG_SYSROOT_DIR`

Paul Menzel paulepanter at
Fri May 6 13:22:35 PDT 2011

Dear Enrico,

thank you for answering all the messages.

Am Freitag, den 06.05.2011, 22:10 +0200 schrieb Enrico Weigelt:
> * Paul Menzel <paulepanter at> schrieb:
> > So it is `datadir=/usr/share` but for cross compiling it should be `${PKG_CONFIG_SYSROOT_DIR}/usr/share`.
> No, $datadir MUST NOT be prepended with the sysroot prefix.
> This is the directory where static data will reside on the
> (deployed) _target_ system.
> The call in is simply wrong.

Could you please advise what the correct call should be.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part
URL: <>

More information about the pkg-config mailing list