Dear Libidn developers,

there is an issue in Libidn's *.pc.in file that causes the library
to build correctly, but makes other applications unable to link
statically against libidn. The issue appears on all systems that
have an external libiconv, i.e. where iconv() is not part of libc.

An example for such an environment is static linking under MinGW.

The attached patch fixes this issue, without affecting non-static
builds in any way.


Regards,
Volker

-- 
Volker Grabsch
---<<(())>>---
--- a/libidn.pc.in
+++ b/libidn.pc.in
@@ -20,4 +20,5 @@
 URL: http://www.gnu.org/software/libidn/
 Version: @VERSION@
 Libs: -L${libdir} -lidn
+Libs.private: @LTLIBICONV@
 Cflags: -I${includedir}
_______________________________________________
Help-libidn mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/help-libidn

Reply via email to