Browse Source

Always use libcurl cflags

theLosers106
elbandi 9 years ago
parent
commit
ca3f9d5c3a
  1. 6
      Makefile.am
  2. 1
      configure.ac

6
Makefile.am

@ -18,10 +18,10 @@ sgminer_LDADD = $(DLOPEN_FLAGS) @LIBCURL_LIBS@ @JANSSON_LIBS@ @PTHREAD_LIBS@ @@ -18,10 +18,10 @@ sgminer_LDADD = $(DLOPEN_FLAGS) @LIBCURL_LIBS@ @JANSSON_LIBS@ @PTHREAD_LIBS@
@OPENCL_LIBS@ @NCURSES_LIBS@ @PDCURSES_LIBS@ @WS2_LIBS@ \
@MM_LIBS@ @RT_LIBS@ @MATH_LIBS@ lib/libgnu.a ccan/libccan.a sph/libsph.a
sgminer_CPPFLAGS += -I$(top_builddir)/lib -I$(top_srcdir)/lib @OPENCL_FLAGS@
sgminer_CPPFLAGS += -I$(top_builddir)/lib -I$(top_srcdir)/lib @OPENCL_FLAGS@ @LIBCURL_CFLAGS@
if !HAVE_WINDOWS
sgminer_CPPFLAGS += @LIBCURL_CFLAGS@
if HAVE_WINDOWS
sgminer_LDFLAGS += -all-static
endif
sgminer_CPPFLAGS += $(ADL_CPPFLAGS)

1
configure.ac

@ -288,6 +288,7 @@ else @@ -288,6 +288,7 @@ else
LIBCURL_LIBS=""
fi
AC_SUBST(LIBCURL_LIBS)
AC_SUBST(LIBCURL_CFLAGS)
# Enable or disable use of git version in version string
AC_MSG_CHECKING(whether to use git version if available)

Loading…
Cancel
Save