Skip to content

Commit

Permalink
Allow override of ${OPENSSL_CFLAGS} with manual/static build
Browse files Browse the repository at this point in the history
We need to add -pthread when building against OpenSSL 1.1 HEAD

Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
  • Loading branch information
David Woodhouse authored and David Woodhouse committed Jul 8, 2016
1 parent 0d635a0 commit cd71ac0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion configure.ac
Expand Up @@ -465,7 +465,7 @@ if test "$with_openssl" = "yes" || test "$with_openssl" = "" || test "$ssl_libra
ssl_library=openssl
fi
elif test "$with_openssl" != "no" ; then
OPENSSL_CFLAGS="-I${with_openssl}/include"
OPENSSL_CFLAGS="-I${with_openssl}/include ${OPENSSL_CFLAGS}"
OPENSSL_LIBS="${with_openssl}/libssl.a ${with_openssl}/libcrypto.a -ldl -lz"
AC_SUBST(OPENSSL_CFLAGS)
AC_SUBST(OPENSSL_LIBS)
Expand Down

0 comments on commit cd71ac0

Please sign in to comment.