All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] Weird behaviour of pkgconf/pkg-config
@ 2020-12-16  8:31 Wolfgang Grandegger
  0 siblings, 0 replies; only message in thread
From: Wolfgang Grandegger @ 2020-12-16  8:31 UTC (permalink / raw)
  To: buildroot

Hello,

I have trouble with "pkgconf", which does not find "libjpeg" when
building "qt5webengine":

  $ host/bin/pkgconf --libs libjpeg
  Package libjpeg was not found in the pkg-config search path.
  Perhaps you should add the directory containing `libjpeg.pc'
  to the PKG_CONFIG_PATH environment variable
  Package 'libjpeg', required by 'virtual:world', not found

On the other hand, "pkg-config" works as expected:

  $ host/bin/pkg-config --libs libjpeg
  -Lhost/bin/../x86_64-buildroot-linux-gnu/sysroot/usr/lib -ljpeg

At a closer look, "pkgconf" seems to search for the '*.pc" files in

  host/lib/pkgconfig/

while "pkg-config" looks into:

  host/x86_64-buildroot-linux-gnu/sysroot/usr/lib/pkgconfig/

Is that the indented behaviour? What am I doing wrong?

Wolfgang

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2020-12-16  8:31 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-12-16  8:31 [Buildroot] Weird behaviour of pkgconf/pkg-config Wolfgang Grandegger

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.