20.09.2017, 18:48, "Thiago Macieira" <thiago.macie...@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. > > -- > Thiago Macieira - thiago.macieira (AT) intel.com > Software Architect - Intel Open Source Technology Center > > _______________________________________________ > Interest mailing list > Interest@qt-project.org > http://lists.qt-project.org/mailman/listinfo/interest -- Regards, Konstantin _______________________________________________ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest