[Interest] Qt cross compile issue on pkg-config
Thiago Macieira
thiago.macieira at intel.com
Wed Sep 20 18:35:22 CEST 2017
On quarta-feira, 20 de setembro de 2017 08:50:58 PDT Konstantin Tokarev wrote:
> 20.09.2017, 18:48, "Thiago Macieira" <thiago.macieira at intel.com>:
> > On quarta-feira, 20 de setembro de 2017 01:59:27 PDT nus1998 wrote:
> >> I wonder is there a way to use 3rd libraries by pkg-config but not
> >> change
> >> the compile path?
> >
> > Set PKG_CONFIG_PATH, not the sysroot.
>
> If pkg-config files contain paths relative to sysroot, sysroot needs to be
> set; if they are relative to host file system, PKG_CONFIG_PATH should be
> used.
Right. But if you're using a sysroot, you have to make sure ALL your libraries
are in that sysroot, whether found by pkg-config or not.
--
Thiago Macieira - thiago.macieira (AT) intel.com
Software Architect - Intel Open Source Technology Center
More information about the Interest
mailing list