Glib-2.0.pc requires -liconv, but not -L...
@mikep
Submitted by W. Michael Petullo Link to original bug (#628445)
Description
I am building an application using Glib2 2.22.2 on OpenWRT. As far as I can tell, there is something wrong with the glib-2.0.pc that gets installed. Glib-2.0.pc contains -liconv, but no corresponding -L statement. This causes a problem because libiconv is installed in /usr/lib/libiconv/lib/. The result is that the linker can not find libiconv when linking the application. My understanding is that an application should not be specially configured (with iconv.m4) in order to use libiconv, rather it should simply learn all it needs from glib-2.0.pc.
Version: 2.22.x