[OE-core] [PATCH 0/3] avoid refs to sysroot in pkgconfig files

Enrico Scholz enrico.scholz at sigma-chemnitz.de
Thu Dec 18 11:04:20 UTC 2014


Some pkgconfig files like libkmod.pc or fontconfig.pc contain absolute
paths to sysroot dirs in their Cflags: or Libs: section.  This can
break build of dependent packages because wrong paths will be created.

Patchset tries to detect and fix such issues automatically.  It is
conservative by using $PKG_CONFIG_SYSROOT_DIR instead of $TMPDIR.

Enrico Scholz (3):
  insane: added 'pkgconfig-nosysroot' check
  pkgconfig.bblcass: remove PKG_CONFIG_SYSROOT_DIR from installed .pc
    files
  insane: made 'pkgconfig-nosysroot' check critical

 meta/classes/insane.bbclass    | 16 +++++++++++++++-
 meta/classes/pkgconfig.bbclass | 17 +++++++++++++++++
 2 files changed, 32 insertions(+), 1 deletion(-)

-- 
1.9.3



More information about the Openembedded-core mailing list