pkg-config: add Requires.private: libcap

The two shared libraries for now link against libcap,
so add it to the Requires.private as it's a dependency

Fixes https://github.com/systemd/systemd/issues/36117
This commit is contained in:
Luca Boccassi
2025-01-22 21:16:05 +00:00
committed by Yu Watanabe
parent b6b8148459
commit 62e7b478ad
2 changed files with 2 additions and 0 deletions

View File

@@ -18,3 +18,4 @@ URL: {{PROJECT_URL}}
Version: {{PROJECT_VERSION}}
Libs: -L${libdir} -lsystemd
Cflags: -I${includedir}
Requires.private: libcap

View File

@@ -18,3 +18,4 @@ Version: {{PROJECT_VERSION}}
Libs: -L${libdir} -ludev
Libs.private: -lrt -pthread
Cflags: -I${includedir}
Requires.private: libcap