From: Luca Boccassi Date: Wed, 22 Jan 2025 21:16:05 +0000 (+0000) Subject: pkg-config: add Requires.private: libcap X-Git-Tag: v258-rc1~1516 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=62e7b478adcda6bcb6a6f1665d04f6029ce9acdf;p=thirdparty%2Fsystemd.git 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 --- diff --git a/src/libsystemd/libsystemd.pc.in b/src/libsystemd/libsystemd.pc.in index 3a43ef60710..8932eee8a31 100644 --- a/src/libsystemd/libsystemd.pc.in +++ b/src/libsystemd/libsystemd.pc.in @@ -18,3 +18,4 @@ URL: {{PROJECT_URL}} Version: {{PROJECT_VERSION}} Libs: -L${libdir} -lsystemd Cflags: -I${includedir} +Requires.private: libcap diff --git a/src/libudev/libudev.pc.in b/src/libudev/libudev.pc.in index 6541bcb1ab6..a3f9f7b4f4d 100644 --- a/src/libudev/libudev.pc.in +++ b/src/libudev/libudev.pc.in @@ -18,3 +18,4 @@ Version: {{PROJECT_VERSION}} Libs: -L${libdir} -ludev Libs.private: -lrt -pthread Cflags: -I${includedir} +Requires.private: libcap