summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEnji Cooper <1574099+ngie-eign@users.noreply.github.com>2023-05-12 21:12:01 -0700
committerGitHub <noreply@github.com>2023-05-12 21:12:01 -0700
commit1f3c62ebf4d492ac21d3099b3b064993100dd997 (patch)
tree884319d3584d2dba990401c8195dd527fb920ab4
parent4ebfd961873310cac894ffd579e4569f369e8990 (diff)
downloadlibarchive-master.tar.gz
Reduce overlinking per pkg-config spec (#1870)HEADmaster
libssl isn't required for libarchive. Remove libssl so the installed .pc file doesn't cause consumers to subsequently overlink libssl into their code. This doesn't affect how the code is linked -- only consumers of the pkg-config specified spec.
-rw-r--r--configure.ac2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index 4f83fed2..24049852 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1227,7 +1227,7 @@ fi
if test "x$with_openssl" != "xno"; then
AC_CHECK_HEADERS([openssl/evp.h])
saved_LIBS=$LIBS
- LIBSREQUIRED="$LIBSREQUIRED${LIBSREQUIRED:+ }libssl libcrypto"
+ LIBSREQUIRED="$LIBSREQUIRED${LIBSREQUIRED:+ }libcrypto"
AC_CHECK_LIB(crypto,OPENSSL_config)
CRYPTO_CHECK(MD5, OPENSSL, md5)
CRYPTO_CHECK(RMD160, OPENSSL, rmd160)