aboutsummaryrefslogtreecommitdiffstats
path: root/testing/libselinux/fts.patch
diff options
context:
space:
mode:
Diffstat (limited to 'testing/libselinux/fts.patch')
-rw-r--r--testing/libselinux/fts.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/testing/libselinux/fts.patch b/testing/libselinux/fts.patch
new file mode 100644
index 0000000000..aae13c8edd
--- /dev/null
+++ b/testing/libselinux/fts.patch
@@ -0,0 +1,11 @@
+--- ./src/Makefile.orig
++++ ./src/Makefile
+@@ -112,7 +112,7 @@
+ $(RANLIB) $@
+
+ $(LIBSO): $(LOBJS)
+- $(CC) $(CFLAGS) -shared -o $@ $^ -lpcre -ldl $(LDFLAGS) -L$(LIBDIR) -Wl,-soname,$(LIBSO),-z,defs,-z,relro
++ $(CC) $(CFLAGS) -shared -o $@ $^ -lpcre -ldl -lfts $(LDFLAGS) -L$(LIBDIR) -Wl,-soname,$(LIBSO),-z,defs,-z,relro
+ ln -sf $@ $(TARGET)
+
+ $(LIBPC): $(LIBPC).in ../VERSION