Hi Helmut,

On Sun, 10 Dec 2023, at 23:14, Helmut Grohne wrote:
> $ aarch64-linux-gnu-pkg-config --variable=pc_path pkg-config
> /usr/local/lib/x86_64-linux-gnu/pkgconfig:/usr/local/lib/pkgconfig:/usr/local/share/pkgconfig:/usr/lib/x86_64-linux-gnu/pkgconfig:/usr/lib/pkgconfig:/usr/share/pkgconfig
> $
>
> Fixing these is a non-trivial affair. I recommend simply deleting the
> builtin mechanism and placing a pkgconf.pc and symlink pkg-config.pc
> file (which is architecture-dependent) in the pkgconf package (which is
> m-a:same). We can easily generate these at package build time.

Yes, I think short-term generating pkgconf.pc/pkg-config.pc instead of using 
the in-built ones would be good. Long-term this should be fixed upstream, and 
the upstream agreed.

> I suspect solving this in C would amount to rewriting the builtin
> mechanism in a dynamic way that can introspect personality
> properties. I'd like to avoid that.

Yes, it’s not a delta I would like to maintain, but if the upstream implemented 
this, it would be great :)

-- 
Cheers,
  Andrej

Reply via email to