Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 0 additions & 4 deletions configure
Original file line number Diff line number Diff line change
Expand Up @@ -5376,10 +5376,6 @@ $as_echo "no" >&6; }
PKG_CONFIG=""
fi
fi
if test "x$PKG_CONFIG" != "x"; then :
PKG_CONFIG="$PKG_CONFIG --static"
fi

{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for crypto library" >&5
$as_echo_n "checking for crypto library... " >&6; }

Expand Down
6 changes: 5 additions & 1 deletion configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,11 @@ fi
AC_MSG_RESULT([$enable_debug_logging])

PKG_PROG_PKG_CONFIG
AS_IF([test "x$PKG_CONFIG" != "x"], [PKG_CONFIG="$PKG_CONFIG --static"])
dnl Do not append --static to PKG_CONFIG. Forcing static pkg-config flags
dnl pulls Libs.private into configure link probes (AC_SEARCH_LIBS), which
dnl fails on hosts whose libcrypto.pc names private archives that are not
dnl installed (for example Ubuntu libjitterentropy). Dynamic flags are enough
dnl for discovery; Libs.private in libsrtp3.pc still gets the resulting LIBS.

AC_MSG_CHECKING([for crypto library])
AC_ARG_WITH([crypto-library], AS_HELP_STRING([--with-crypto-library=TYPE], [Select crypto library, one of: openssl, wolfssl, nss, internal]),
Expand Down
Loading