From 78fd058b08cef9cdb48f159b8abe9f448a78804f Mon Sep 17 00:00:00 2001 From: David Woodhouse Date: Wed, 9 Jan 2019 11:40:45 +0000 Subject: [PATCH] Fix up building against local static OpenSSL Signed-off-by: David Woodhouse --- configure.ac | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/configure.ac b/configure.ac index b2bb4483..47ef5739 100644 --- a/configure.ac +++ b/configure.ac @@ -342,12 +342,12 @@ if test "$ssl_library" = ""; then else OPENSSL_CFLAGS="-I${with_openssl}/include ${OPENSSL_CFLAGS}" if test -r "${with_openssl}/libssl.a" -a -r "${with_openssl}/libcrypto.a"; then - OPENSSL_LIBS="${with_openssl}/libssl.a ${with_openssl}/libcrypto.a -ldl -lz" + OPENSSL_LIBS="${with_openssl}/libssl.a ${with_openssl}/libcrypto.a -ldl -lz -pthread" elif test -r "${with_openssl}/crypto/.libs/libcrypto.a" -a \ -r "${with_openssl}/ssl/.libs/libssl.a"; then - OPENSSL_LIBS="${with_openssl}/ssl/.libs/libssl.a ${with_openssl}/crypto/.libs/libcrypto.a -ldl -lz" + OPENSSL_LIBS="${with_openssl}/ssl/.libs/libssl.a ${with_openssl}/crypto/.libs/libcrypto.a -ldl -lz -pthread" else - AC_ERROR([Could not found OpenSSL libraries]); + AC_ERROR([Could not find OpenSSL libraries in ${with_openssl}]); fi AC_SUBST(OPENSSL_CFLAGS) AC_SUBST(OPENSSL_LIBS) -- 2.50.1