[cmake] static build: populate private

in pkg-config files only add Requires.private and Libs.private if we
build a static library.
This commit is contained in:
Armin Novak
2025-09-11 09:56:25 +02:00
parent 85b864c799
commit d355082c32
18 changed files with 78 additions and 18 deletions

View File

@@ -11,5 +11,5 @@ Version: @WINPR_VERSION@
Requires:
Requires.private: @WINPR_PC_REQUIRES_PRIVATE@
Libs: -L${libdir} ${libs}
Libs.private: -ldl -lrt -lm -lpthread
Libs.private: @WINPR_PC_LIBRARY_PRIVATE@
Cflags: -I${includedir}