libselinux/libselinux-2.2.1-pkgconfig.patch

13 lines
541 B
Diff

diff -Nru libselinux-2.2.1.orig/src/libselinux.pc.in libselinux-2.2.1/src/libselinux.pc.in
--- libselinux-2.2.1.orig/src/libselinux.pc.in 2013-11-06 20:56:30.000000000 +0100
+++ libselinux-2.2.1/src/libselinux.pc.in 2013-11-30 19:08:36.323348242 +0100
@@ -7,6 +7,6 @@
Description: SELinux utility library
Version: @VERSION@
URL: http://userspace.selinuxproject.org/
-Requires.private: libsepol libpcre
-Libs: -L${libdir} -lselinux
+Requires: libsepol libpcre
+Libs: -L${libdir} -lselinux -lsepol -lpcre -lpthread
Cflags: -I${includedir}