diff --git a/configure.ac b/configure.ac index ef899b881d..9ed1836608 100644 --- a/configure.ac +++ b/configure.ac @@ -6712,7 +6712,7 @@ done # check if OpenSSL libraries work as expected WITH_SAVE_ENV([ - LIBS="$LIBS $OPENSSL_LIBS" + LIBS="$OPENSSL_LIBS $LIBS" CFLAGS="$CFLAGS $OPENSSL_INCLUDES" LDFLAGS="$LDFLAGS $OPENSSL_LDFLAGS $OPENSSL_LDFLAGS_RPATH" @@ -6737,7 +6737,7 @@ WITH_SAVE_ENV([ ]) WITH_SAVE_ENV([ - LIBS="$LIBS $LIBCRYPTO_LIBS" + LIBS="$LIBCRYPTO_LIBS $LIBS" CFLAGS="$CFLAGS $OPENSSL_INCLUDES" LDFLAGS="$LDFLAGS $OPENSSL_LDFLAGS $OPENSSL_LDFLAGS_RPATH"