libweston-6-protocols.pc: contains architecture specific path, but it is installed in shared
Hello,
While switching to meson build system, I encounter that libweston-6-protocols.pc
file contains the following:
prefix=/usr
libdir=${prefix}/lib/x86_64-linux-gnu
includedir=${prefix}/include
datarootdir=${prefix}/share
pkgdatadir=${pc_sysrootdir}${datarootdir}/libweston/protocols
Name: libWeston Protocols
Description: libWeston protocol files
Version: 6.0.1
Cflags: -I${includedir}
This file installs into /usr/share/pkgconfig/
which it is architecture independent path, but the file itself has architecture dependent code. In previous weston 5.0.0 with autotools build system, that file was not generated.
Should the file be installed into /usr/lib/*/pkgconfg
as the other pkgconfig files?
I'll follow up with a MR proposing such change.
Regards