Browse Source

Fix build error with -ldl being passed to LDFLAGS instead of LDADD and update configure output.

nfactor-troky
Con Kolivas 13 years ago
parent
commit
d5231ea57f
  1. 4
      Makefile.am
  2. 5
      configure.ac

4
Makefile.am

@ -29,8 +29,8 @@ cgminer_SOURCES = elist.h miner.h compat.h bench_block.h \ @@ -29,8 +29,8 @@ cgminer_SOURCES = elist.h miner.h compat.h bench_block.h \
phatk110817.cl poclbm110817.cl \
sha2.c sha2.h
cgminer_LDFLAGS = $(PTHREAD_FLAGS) $(DLOPEN_FLAGS)
cgminer_LDADD = @LIBCURL_LIBS@ @JANSSON_LIBS@ @PTHREAD_LIBS@ @OPENCL_LIBS@ @NCURSES_LIBS@ @PDCURSES_LIBS@ @WS2_LIBS@ lib/libgnu.a ccan/libccan.a
cgminer_LDFLAGS = $(PTHREAD_FLAGS)
cgminer_LDADD = $(DLOPEN_FLAGS) @LIBCURL_LIBS@ @JANSSON_LIBS@ @PTHREAD_LIBS@ @OPENCL_LIBS@ @NCURSES_LIBS@ @PDCURSES_LIBS@ @WS2_LIBS@ lib/libgnu.a ccan/libccan.a
cgminer_CPPFLAGS = -I$(top_builddir)/lib -I$(top_srcdir)/lib @OPENCL_FLAGS@
if HAVE_x86_64

5
configure.ac

@ -320,12 +320,13 @@ else @@ -320,12 +320,13 @@ else
echo " ADL..................: Detection overrided. GPU monitoring support DISABLED"
fi
echo " ASM..................: $has_yasm"
echo " ASM.(for CPU mining).: $has_yasm"
echo
echo "Compilation............: make (or gmake)"
echo " CPPFLAGS.............: $CPPFLAGS"
echo " CFLAGS...............: $CFLAGS"
echo " LDFLAGS..............: $LDFLAGS $PTHREAD_FLAGS $DLOPEN_FLAGS"
echo " LDFLAGS..............: $LDFLAGS $PTHREAD_FLAGS"
echo " LDADD................: $DLOPEN_FLAGS"
echo
echo "Installation...........: make install (as root if needed, with 'su' or 'sudo')"
echo " prefix...............: $prefix"

Loading…
Cancel
Save