GNOME Bugzilla – Bug 603273
Please move libraries -lz and -lnsl from Libs to Libs.private in gmime-2.4.pc
Last modified: 2009-11-30 15:36:08 UTC
libz and libnsl are linked to libgmime-2.4.so.2.4.6, so they don't need to be explicitly linked to the application. The reason for avoiding explicitly linking them is that it creates an unnecessary build time dependency on the /usr/lib/libgmime-2.4.so symlink existing. At least on debian, this requires another package to be installed.
I've just fixed this in the appropriate git branches, so these changes will appear in any future release.