0
0
mirror of https://github.com/zeromq/libzmq.git synced 2024-12-27 07:31:03 +08:00

Problem: libzmq.pc does not include gnutls dependency for static linking

Solution: add it to the Requires.private list
This commit is contained in:
Luca Boccassi 2019-12-28 15:47:23 +01:00
parent 2c2ff01e85
commit 9d2899af87

View File

@ -576,6 +576,7 @@ AC_ARG_WITH([tls],
if test "x$enable_ws" != "xno"; then
if test "x$with_tls" = "xyes"; then
PKG_CHECK_MODULES([GNUTLS], [gnutls >= 3.1.4], [
PKGCFG_NAMES_PRIVATE="$PKGCFG_NAMES_PRIVATE gnutls >= 3.1.4"
ws_crypto_library="gnutls"
AC_DEFINE(ZMQ_USE_GNUTLS, [1], [Use GNUTLS for TLS])
AC_DEFINE(ZMQ_HAVE_WS, [1], [Using websocket])