vmime icon indicating copy to clipboard operation
vmime copied to clipboard

Full path from FindIconv.cmake confuses pkg-config

Open mabrand opened this issue 11 years ago • 0 comments

FindIconv provides a full path to the iconv library file, such as "/libiconv.a". This ends up in VMIME_PKGCONFIG_LIBS and then libvime.pc Libs.private.

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.

mabrand avatar Mar 07 '13 17:03 mabrand