Installing proto pc files in /usr/share/pkgconfig?

Yaakov (Cygwin/X) yselkowitz at users.sourceforge.net
Sun Sep 23 21:59:02 PDT 2012


On 2012-09-23 12:35, Matt Turner wrote:
> The proto packages install their pc files in $(libdir)/pkgconfig, but
> this leads to files being installed in /usr/lib32 or /usr/lib64 when
> there's nothing ABI specific about them.
>
> Would it be reasonable to install them to $(prefix)/share/pkgconfig instead?

Absolutely NOT.  If you do this, then they will be picked up when 
cross-compiling, adding e.g. -I/usr/include to CFLAGS, which will then 
cause the build-system's headers to be used instead of the cross-host's.


Yaakov
Cygwin/X



More information about the xorg-devel mailing list