[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Re: Introduction to multiarch: What maintainers must do

Zitat von sthibault@debian.org:

My first thought was "Err. Won't moving all the shared libs into a
different location kinda screw things up?" And then I looked, and found

	  | ==> /etc/ld.so.conf.d/x86_64-linux-gnu.conf <==

Yes, but however pkg-config won't yet find things in
/usr/lib/x86_64-linux-gnu/pkgconfig, so take care of putting .pc files
in /usr/lib/pkgconfig.

Please don't as those files can be different on different architectures. Change PKG_CONFIG_PATH or PKG_CONFIG_LIBDIR instead.

pkg-config has a win32-only feature to derive the prefix variable from the location of the .pc file. Removing the ifdef would also enable this on Linux and make pkg-config multiarch-usable. Alternative: install pkg-config as ${DEB_HOST_GNU_TYPE}-pkg-config for each arch (each with the correct default search path) and link the default arch pkg-config to it. Autotools will automatically handle it, cmake currently won't.


Reply to: