components/curl/Makefile
changeset 677 07b064828047
parent 609 775168282b2f
child 800 2ad056ed89ec
--- a/components/curl/Makefile	Thu Feb 02 08:24:42 2012 -0800
+++ b/components/curl/Makefile	Thu Feb 02 10:53:40 2012 -0800
@@ -41,8 +41,11 @@
 GSSAPI_LIBDIR_64 = /usr/lib/$(MACH64)
 
 CFLAGS += $(CPP_LARGEFILES)
+CFLAGS += `pkg-config --cflags libidn`
+CPPFLAGS += `pkg-config --cflags libidn`
 
 CONFIGURE_ENV += CFLAGS="$(CFLAGS)"
+CONFIGURE_ENV += CPPFLAGS="$(CPPFLAGS)"
 CONFIGURE_ENV += PKG_CONFIG_PATH="$(PKG_CONFIG_PATH)"
 
 CONFIGURE_OPTIONS += --localstatedir=/var --enable-shared --disable-static