From 889239ccd78a225c32ba476322301c9826380db9 Mon Sep 17 00:00:00 2001 From: Alexandre Viau Date: Sat, 20 Nov 2021 23:59:14 -0500 Subject: [PATCH] Add missing Libs flags Debian only ships libopendht.a. The pkg-config file is only included in the dev package. This modifies it so that the linking works with libopendht.a Gbp-Pq: Name pkgconfig-static.patch --- opendht.pc.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/opendht.pc.in b/opendht.pc.in index 9491c4e..a6d770c 100644 --- a/opendht.pc.in +++ b/opendht.pc.in @@ -5,7 +5,7 @@ includedir=@includedir@ Name: OpenDHT Description: C++14 Distributed Hash Table library Version: @VERSION@ -Libs: -L${libdir} -lopendht +Libs: -L${libdir} -lopendht -lnettle -lgnutls -largon2 -lhttp_parser Libs.private: @http_parser_lib@ -pthread Requires.private: gnutls >= 3.3, nettle >= 2.4@argon2_lib@@jsoncpp_lib@@openssl_lib@ Cflags: -I${includedir} -- 2.30.2