Re: ask for directory of xcb-proto.pc

Matt Turner <[email protected]> Wed, 22 Mar 2023 14:48:52 -0400
Newsgroups gmane.comp.freedesktop.xcb
Message-ID <CAEdQ38ECdsb8tC4AF9oPW15EP5tERVYSQLGAu0bJZFGkjBSWAQ@mail.gmail.com>
On Wed, Mar 22, 2023 at 3:52=E2=80=AFAM [email protected] <wangmy@fujitsu.=
com> wrote:
>
> xcb-proto.pc has been placed under /usr/share, regardless of architecture=
.
> However, this file contains the following contents:
> pythondir=3D${pc_sysrootdir}${libdir}/python3.11/site-packages
> It needs to find python related content under libdir, which is architectu=
re related.
> Therefore, it seems not possible to make xcb-proto.pc architecture indepe=
ndent.


I left a larger comment here:
https://gitlab.freedesktop.org/xorg/proto/xcbproto/-/merge_requests/30#note=
_1834213

But in short, I don't understand how/why pythondir is defined in terms
of libdir.