From 338f427a24f78a717888c7c2b6b91fa831bea28e Mon Sep 17 00:00:00 2001 From: Jay Satiro Date: Mon, 24 Apr 2017 03:13:28 -0400 Subject: configure: stop prepending to LDFLAGS, CPPFLAGS - Change prepends to appends because user's LDFLAGS and CPPFLAGS should always come first so they're searched before ours. Bug: https://github.com/curl/curl/issues/1420 Reported-by: Helmut K. C. Tessarek --- m4/curl-confopts.m4 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'm4') diff --git a/m4/curl-confopts.m4 b/m4/curl-confopts.m4 index b86e0fc4f..42f2a965a 100644 --- a/m4/curl-confopts.m4 +++ b/m4/curl-confopts.m4 @@ -516,8 +516,8 @@ AC_DEFUN([CURL_CHECK_LIB_ARES], [ fi fi # - CPPFLAGS="$ares_CPPFLAGS $clean_CPPFLAGS" - LDFLAGS="$ares_LDFLAGS $clean_LDFLAGS" + CPPFLAGS="$clean_CPPFLAGS $ares_CPPFLAGS" + LDFLAGS="$clean_LDFLAGS $ares_LDFLAGS" LIBS="$ares_LIBS $clean_LIBS" # if test "$embedded_ares" != "yes"; then -- cgit v1.2.3