Mailinglist Archive: opensuse-packaging (250 mails)

< Previous Next >
Re: [opensuse-packaging] RFC: Banning system library paths from .pc files
  • From: Vincent Untz <vuntz@xxxxxxxxxxxx>
  • Date: Tue, 11 Aug 2009 13:54:00 +0200
  • Message-id: <20090811115400.GE5615@xxxxxxxxx>
Le mardi 11 août 2009, à 13:47 +0200, Philipp Thomas a écrit : 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.


Les gens heureux ne sont pas pressés.
To unsubscribe, e-mail: opensuse-packaging+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-packaging+help@xxxxxxxxxxxx

< Previous Next >
Follow Ups