ffbuild: Don't include rpath in static-only *-uninstalled.pc files

rpaths are unnecessary for static libraries and are likely to be
considered a security issue by distribution QA checks.

Signed-off-by: James Le Cuirot <chewi@gentoo.org>
This commit is contained in:
James Le Cuirot authored and michaelni committed 2026-11-04 20:18:17 +00:00
1 parent ff22978529
commit 5048d707a3
1 file changed
+1 -1
+1 -1
View File
@@ -57,6 +57,6 @@ Description: $comment
Version: $version
Requires: $requires
Conflicts:
Libs: -L\${libdir} -Wl,-rpath,\${libdir} -l${fullname#lib} $($shared || echo $libs)
Libs: -L\${libdir} $($shared && echo -Wl,-rpath,\${libdir}) -l${fullname#lib} $($shared || echo $libs)
Cflags: -I\${includedir}
EOF