[gnutls-devel] [PATCH 1/2] crywrap: Use the libidn pkg-config include and lib paths

Martin Storsjo martin at martin.st
Thu Jun 6 14:26:52 CEST 2013


---
 src/crywrap/Makefile.am |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/crywrap/Makefile.am b/src/crywrap/Makefile.am
index a20bcd6..9f42db3 100644
--- a/src/crywrap/Makefile.am
+++ b/src/crywrap/Makefile.am
@@ -15,7 +15,7 @@
 # along with this file; if not, write to the Free Software Foundation,
 # Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
 
-AM_CFLAGS = $(WARN_CFLAGS)
+AM_CFLAGS = $(WARN_CFLAGS) $(LIBIDN_CFLAGS)
 AM_CPPFLAGS = \
 	-I$(srcdir)/../../gl			\
 	-I$(builddir)/../../lib/includes		\
@@ -27,4 +27,4 @@ EXTRA_DIST = README
 bin_PROGRAMS = crywrap
 
 crywrap_SOURCES = crywrap.c primes.h crywrap.h
-crywrap_LDADD = ../../lib/libgnutls.la ../../gl/libgnu.la -lidn
+crywrap_LDADD = ../../lib/libgnutls.la ../../gl/libgnu.la $(LIBIDN_LIBS)
-- 
1.7.9.4




More information about the Gnutls-devel mailing list