From 9d2899af877fc36b463847054fc040ac63740bed Mon Sep 17 00:00:00 2001 From: Luca Boccassi Date: Sat, 28 Dec 2019 15:47:23 +0100 Subject: [PATCH] Problem: libzmq.pc does not include gnutls dependency for static linking Solution: add it to the Requires.private list --- configure.ac | 1 + 1 file changed, 1 insertion(+) diff --git a/configure.ac b/configure.ac index 4f4509f3..8ac65888 100644 --- a/configure.ac +++ b/configure.ac @@ -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])