ask for directory of xcb-proto.pc

"[email protected]" <[email protected]> Fri, 17 Mar 2023 01:14:20 +0000
Newsgroups gmane.comp.freedesktop.xcb
Message-ID <OSBPR01MB1845D21CE120A2DC40F8D735DCBD9@OSBPR01MB1845.jpnprd01.prod.outlook.com>
When compiling with version 1.15.2 of xcb-proto, conflict occured in a multilib environment:
file /usr/share/pkgconfig/xcb-proto.pc conflicts between attempted installs of lib32-xcb-proto-dev and xcb-proto-dev

After investigation, it is found that the following setting in Makefile.am:
pkgconfigdir = $(datarootdir)/pkgconfig

The setting for pgkconfigdir in version 1.15 is as follows:
pkgconfigdir = $(libdir)/pkgconfig
In this version, conflicts do not occur in the multilib environment.

Could you tell me why the pkgconfigdir  changed from libdir to datarootdir?

  --
Best Regards
---------------------------------------------------
Wang Mingyu
Development Dept.I
Nanjing Fujitsu Nanda Software Tech. Co., Ltd.(FNST) No. 6 Wenzhu Road, Nanjing, 210012, China
TEL: +86+25-86630566-8568
COINS: 79988548
FAX: +86+25-83317685
MAIL: [email protected]
http://www.fujitsu.com/cn/fnst/