Add missing Libs flags
authorAlexandre Viau <aviau@debian.org>
Sun, 21 Nov 2021 04:59:14 +0000 (23:59 -0500)
committerAlexandre Viau <aviau@debian.org>
Sun, 21 Nov 2021 04:59:14 +0000 (23:59 -0500)
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

index 9491c4e14ba0599fce282035c1c5a067be029043..a6d770c8a56da4c1cbfa4520fa91695a7f52b2a5 100644 (file)
@@ -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}