811b4f
From 341ef149ee259d9432ea4c01507eefab2ef8b83c Mon Sep 17 00:00:00 2001
811b4f
From: Radostin Stoyanov <radostin@redhat.com>
811b4f
Date: Thu, 14 Oct 2021 12:58:56 +0100
811b4f
Subject: [PATCH] criu.pc: Add libprotobuf-c as a dependency
811b4f
811b4f
CRIU has a dependency on protobuf-c-devel. We express this dependency
811b4f
in pkgconfig to be auto-detected when building a package.
811b4f
811b4f
Signed-off-by: Radostin Stoyanov <radostin@redhat.com>
811b4f
---
811b4f
 lib/c/criu.pc.in | 1 +
811b4f
 1 file changed, 1 insertion(+)
811b4f
811b4f
diff --git a/lib/c/criu.pc.in b/lib/c/criu.pc.in
811b4f
index 33986d10d..bcced5033 100644
811b4f
--- a/lib/c/criu.pc.in
811b4f
+++ b/lib/c/criu.pc.in
811b4f
@@ -4,5 +4,6 @@ includedir=@includedir@
811b4f
 Name: CRIU
811b4f
 Description: RPC library for userspace checkpoint and restore
811b4f
 Version: @version@
811b4f
+Requires.private: libprotobuf-c
811b4f
 Libs: -L${libdir} -lcriu
811b4f
 Cflags: -I${includedir}
811b4f
--
811b4f
2.31.1
811b4f