Commit 44faebecca60e70a97893e64b27eb8460b3392a7

Diogo Franco 2011-07-28T23:26:22

Fix the Makefile.am for the last commit That LIBCURL_CHECK_CONFIG macro apparently did some things wrong too, like adding libraries to a non-standard "LIBCURL" variable instead of "LIBCURL_LIBS". Fixes linking after the previous commit.

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/Makefile.am b/Makefile.am
index bcf9b94..28ad4aa 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -26,7 +26,7 @@ cgminer_SOURCES	= elist.h miner.h compat.h			\
 		  phatk110722.cl poclbm110717.cl
 
 cgminer_LDFLAGS	= $(PTHREAD_FLAGS)
-cgminer_LDADD	= @LIBCURL@ @JANSSON_LIBS@ @PTHREAD_LIBS@ @OPENCL_LIBS@ @NCURSES_LIBS@ @PDCURSES_LIBS@ lib/libgnu.a ccan/libccan.a
+cgminer_LDADD	= @LIBCURL_LIBS@ @JANSSON_LIBS@ @PTHREAD_LIBS@ @OPENCL_LIBS@ @NCURSES_LIBS@ @PDCURSES_LIBS@ lib/libgnu.a ccan/libccan.a
 cgminer_CPPFLAGS = @LIBCURL_CPPFLAGS@ -I$(top_builddir)/lib -I$(top_srcdir)/lib
 
 if HAVE_x86_64