2011/4/22 Fridrich Strba
On 22/04/11 21:54, Maarten Bosmans wrote:
I checked a very simple package: libcroco. Apart from the correctly detected dependency on glib and libxml (both through pkg: and lib:), there is another dependency on mingw32(lib:intl), provided by: mingw32-gettext-tools. How did your scripts pick up that one? It does not appear in the current Requires: for the -devel package (gettext isn't even in the BuildRequires) and no mention of libintl in libcroco-0.6.pc either.
The secret of production :)
The pkg-config --libs-only-l is pulling all libs from all dependent pc files when run on a particular pc file. This is basically a way to assure that the linking will not fail because of a missing library, so every -l<whatever> that appears in the chain, we consider it as a dependency.
But in this case you don't want libcroco-devel to depend directly on libintl, because it doesn't link against that. The Require: for the -devel package gets pulled in through the dependency on glib2-devel. Maarten -- To unsubscribe, e-mail: opensuse-mingw+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-mingw+help@opensuse.org