[haiku-3rdparty-dev] pkg-config & x86?

  • From: pete.goodeve@xxxxxxxxxxxx
  • To: Haiku-3rd-Party-Dev <haiku-3rdparty-dev@xxxxxxxxxxxxx>
  • Date: Wed, 11 Sep 2019 15:24:29 -0700

Hi,

I'm wondering how pkg-config is supposed to work in a hybrid system.

I wanted to compile an audio-analysis library that turns out to need x86,
so I do "setarch x86 ./configure", but looking at the log, pkg-config is
just not finding the x86 stuff. (In particular the required version of
libavformat.)

Looking around, alll the relevant pc files are in
 /boot/system/develop/lib/x86/pkgconfig, but they are not seen.

If I set PKG_CONFIG_PATH to that, the files are found, but then
the (different rev) gcc2 files are not (no setarch).  (Though a pc
that is *only* gcc2 is.)

Is this the way it has to be?  Doesn't seem obvious.

Thanks,

        -- Pete --

Other related posts: