Commit feb02dfb62f2261d99cef93587b62b6157f41461

Christian Ludwig 2011-06-08T23:09:21

Fix libcurl include path Fix the include path for libcurl, if it was installed in a location where gcc does not look by default. The variable is declared in the LIBCURL_CHECK_CONFIG m4 macro.

1
2
3
4
5
6
7
8
9
10
11
12
diff --git a/Makefile.am b/Makefile.am
index 4d4f2bb..7bc13e5 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -19,6 +19,7 @@ minerd_SOURCES	= elist.h miner.h compat.h			\
 		  sha256_cryptopp.c sha256_sse2_amd64.c
 minerd_LDFLAGS	= $(PTHREAD_FLAGS)
 minerd_LDADD	= @LIBCURL@ @JANSSON_LIBS@ @PTHREAD_LIBS@
+minerd_CPPFLAGS = @LIBCURL_CPPFLAGS@
 
 if HAVE_x86_64
 if HAS_YASM