Le mardi 11 août 2009, à 13:47 +0200, Philipp Thomas a écrit :
https://bugzilla.novell.com/show_bug.cgi?id=529921 shows why encoding system library paths like /usr/lib and /usr/lib64 in pkgconfig files is a very bad idea indeed.
(didn't look at the bug, I'll just trust you here)
I'd propose to add a brp script that checks for -L%{libdir} in .pc files and fails the package if found. That way maintainers of a package that comes with .pc files would be forced to fix their packages. I'd even volunteer to write said brp script.
This means that nearly all pkg-config files must be changed (basically, if I look at what I have on my system)? So, hrm, I'd like to avoid this, please :-) Would be better to file bugs upstream for all libraries shipping a pkg-config file first. And then do this in the next development cycle. Vincent -- Les gens heureux ne sont pas pressés. -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org