Add missing Libs flags
authorAlexandre Viau <aviau@debian.org>
Sun, 6 Jan 2019 02:57:00 +0000 (21:57 -0500)
committerAlexandre Viau <aviau@debian.org>
Sun, 6 Jan 2019 02:57:00 +0000 (21:57 -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 0aae92c65329ce7566020fbf7071eae6798fb0f0..25170d7ce0511a47fa09d42da240218404bfb1e2 100644 (file)
@@ -5,7 +5,7 @@ includedir=@includedir@
 Name: OpenDHT
 Description: C++ Distributed Hash Table library
 Version: @VERSION@
-Libs: -L${libdir} -lopendht
+Libs: -L${libdir} -lopendht -lnettle -lgnutls -largon2
 Libs.private: -lpthread
 Requires.private: gnutls >= 3.1@argon2_lib@
 Cflags: -I${includedir}