vmime
vmime copied to clipboard
Full path from FindIconv.cmake confuses pkg-config
FindIconv provides a full path to the iconv library file, such as "
The problem is that this leads to the wrong order when linking to static libvmime when using "pkg-config --static --libs libvmime, i.e.:
/usr/lib/libiconv.a -L/usr/lib -lvmime
The result is unsatisfied iconv symbols in libvmime.