On Fr, 2012-06-01 at 11:35 +0200, Felix Geyer wrote: > severity 670122 normal > thanks > > On 17.05.2012 13:19, Sebastian Dröge wrote: > > On Sa, 2012-05-05 at 17:56 +0200, Julien Cristau wrote: > >> On Mon, Apr 23, 2012 at 09:45:01 +0200, Sebastian Dröge wrote: > >> > >>> Package: libsdl1.2-dev > >>> Severity: serious > >>> > >>> Hi, > >>> libsdl1.2-dev must depend on libcaca-dev and libpulse-dev as > >>> 'sdl-config --libs --static-libs' adds both libraries to the > >>> linker flags. > >>> Also all remaining other libraries that might be missing from > >>> the -dev package dependencies from that list must be added. > >>> > >> Which debian packages use --static-libs, and why? > > gst-plugins-bad0.10 uses this in the configure check. Check > > m4/gst-sdl.m4 for the configure check used there. > > I hope it doesn't actually use the static library in which case the check > can just be fixed. > > I'm considering adding the -dev packages required for static linking > as Recommends.
This is basically the same as with pkg-config files. If your libraries requires other libraries for linking (even if it's only for static linking), your package *must* depend on the relevant -dev packages. Or you just drop the possibility to do static linking. (gst-plugins-bad does not do static linking btw, this is just the configure check but what I said is true nonetheless) FWIW, on kfreebsd you also need to depend on whatever package provides libusbhid. Anyway, I just dropped the SDL plugin from gst-plugins-bad now to get around this issue (and the plugin is very important anyway).
signature.asc
Description: This is a digitally signed message part