view src/libidn-1-fix-pc.patch @ 1791:aa9281d9ff51

package libidn: add "-liconv" to libidn.pc This is necessary for static linking, as demonstrated by the test program that this patch also adds.
author Martin Lambers <marlam@marlam.de>
date Wed, 27 Apr 2011 16:11:54 +0200
parents
children 7602d4778178
line wrap: on
line source

This file is part of mingw-cross-env.
See doc/index.html for further information.

Hack to use pkg-config with static linking.

--- a/libidn.pc.in
+++ b/libidn.pc.in
@@ -19,5 +19,5 @@
 Description: IETF stringprep, nameprep, punycode, IDNA text processing.
 URL: http://www.gnu.org/software/libidn/
 Version: @VERSION@
-Libs: -L${libdir} -lidn
+Libs: -L${libdir} -lidn -liconv
 Cflags: -I${includedir}