summaryrefslogtreecommitdiff
path: root/system/dlm/patches/Don-t-link-dlm_stonith-against-libxml2.patch
diff options
context:
space:
mode:
authorMario Preksavec <mario at slackware dot hr>2019-05-18 06:43:50 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2019-05-18 06:43:50 +0700
commit4d8764c7cb268c2946c4e7b646fea759671825b1 (patch)
treeb2007ac79f0d96adeb3c619e078c2bdea9aeaee7 /system/dlm/patches/Don-t-link-dlm_stonith-against-libxml2.patch
parent832fba7887d31db10bf533579caad343531896e7 (diff)
downloadslackbuilds-4d8764c7cb268c2946c4e7b646fea759671825b1.tar.gz
system/dlm: Added (Distributed Lock Manager).
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
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)