cross compiling, pc files and `PKG_CONFIG_SYSROOT_DIR`

Paul Menzel paulepanter at users.sourceforge.net
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 users.sourceforge.net> 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 configure.ac is simply wrong.

Could you please advise what the correct call should be.


Thanks,

Paul
-------------- 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: <http://lists.freedesktop.org/archives/pkg-config/attachments/20110506/30bf3a65/attachment.pgp>


More information about the pkg-config mailing list