aboutsummaryrefslogtreecommitdiffstats
path: root/testing/libselinux/symlink.patch
diff options
context:
space:
mode:
Diffstat (limited to 'testing/libselinux/symlink.patch')
-rw-r--r--testing/libselinux/symlink.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/testing/libselinux/symlink.patch b/testing/libselinux/symlink.patch
new file mode 100644
index 0000000000..b77264f2f9
--- /dev/null
+++ b/testing/libselinux/symlink.patch
@@ -0,0 +1,11 @@
+--- ./src/Makefile.orig
++++ ./src/Makefile
+@@ -151,7 +151,7 @@
+ install -m 755 $(LIBSO) $(SHLIBDIR)
+ test -d $(LIBDIR)/pkgconfig || install -m 755 -d $(LIBDIR)/pkgconfig
+ install -m 644 $(LIBPC) $(LIBDIR)/pkgconfig
+- ln -sf --relative $(SHLIBDIR)/$(LIBSO) $(LIBDIR)/$(TARGET)
++ ln -sf $(LIBSO) $(LIBDIR)/$(TARGET)
+
+ install-pywrap: pywrap
+ test -d $(PYLIBDIR)/site-packages/selinux || install -m 755 -d $(PYLIBDIR)/site-packages/selinux