summaryrefslogtreecommitdiffstats
path: root/system/dlm/patches/Don-t-link-dlm_stonith-against-libxml2.patch
diff options
context:
space:
mode:
Diffstat (limited to 'system/dlm/patches/Don-t-link-dlm_stonith-against-libxml2.patch')
-rw-r--r--system/dlm/patches/Don-t-link-dlm_stonith-against-libxml2.patch20
1 files changed, 20 insertions, 0 deletions
diff --git a/system/dlm/patches/Don-t-link-dlm_stonith-against-libxml2.patch b/system/dlm/patches/Don-t-link-dlm_stonith-against-libxml2.patch
new file mode 100644
index 0000000000..11a4a4091b
--- /dev/null
+++ b/system/dlm/patches/Don-t-link-dlm_stonith-against-libxml2.patch
@@ -0,0 +1,20 @@
+From: =?utf-8?q?Ferenc_W=C3=A1gner?= <wferi@debian.org>
+Date: Mon, 19 Dec 2016 22:57:22 +0100
+Subject: Don't link dlm_stonith against libxml2
+
+---
+ fence/Makefile | 1 -
+ 1 file changed, 1 deletion(-)
+
+diff --git a/fence/Makefile b/fence/Makefile
+index d4a3c09..1382260 100644
+--- a/fence/Makefile
++++ b/fence/Makefile
+@@ -22,7 +22,6 @@ CFLAGS += `xml2-config --cflags`
+ CFLAGS += -I../include
+
+ LDFLAGS += -Wl,-z,relro -pie
+-LDFLAGS += `xml2-config --libs`
+ LDFLAGS += -ldl
+
+ all: $(BIN_TARGET)