From 5f3540a426afddf004ba06e187e096c065aeb54a Mon Sep 17 00:00:00 2001 From: Klemens Nanni Date: Fri, 7 Jan 2022 12:48:45 +0100 Subject: [PATCH] usrsctp.pc: register pthread (#645) Follow 40e35a7 "cmake: usrsctplib: link against threads library (#644)"; this is not in "Libs:" since programs do not need to link against pthreads themselves. See https://people.freedesktop.org/~dbn/pkg-config-guide.html --- usrsctp.pc.in | 1 + 1 file changed, 1 insertion(+) diff --git a/usrsctp.pc.in b/usrsctp.pc.in index a1ecd2f74..20c463155 100644 --- a/usrsctp.pc.in +++ b/usrsctp.pc.in @@ -9,4 +9,5 @@ URL: https://github.com/sctplab/usrsctp Version: @VERSION@ Requires: Libs: -L${libdir} -lusrsctp +Libs.private: -lpthread Cflags: -I${includedir} @APPCFLAGS@