cross compiling, pc files and `PKG_CONFIG_SYSROOT_DIR`
Enrico Weigelt
weigelt at metux.de
Fri May 6 13:10:57 PDT 2011
* 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.
cu
--
----------------------------------------------------------------------
Enrico Weigelt, metux IT service -- http://www.metux.de/
phone: +49 36207 519931 email: weigelt at metux.de
mobile: +49 151 27565287 icq: 210169427 skype: nekrad666
----------------------------------------------------------------------
Embedded-Linux / Portierung / Opensource-QM / Verteilte Systeme
----------------------------------------------------------------------
More information about the pkg-config
mailing list