37 lines
1019 B
Diff
37 lines
1019 B
Diff
From c745ac4ce06df71b13c5901aa2e6c3772f3661dd Mon Sep 17 00:00:00 2001
|
|
From: Alexander Aring <aahringo@redhat.com>
|
|
Date: Thu, 2 Dec 2021 13:27:26 -0500
|
|
Subject: [PATCH 2/5] stonith_helper: Don't link dlm_stonith against libxml2
|
|
MIME-Version: 1.0
|
|
Content-Type: text/plain; charset=UTF-8
|
|
Content-Transfer-Encoding: 8bit
|
|
|
|
Took it from the debian patches. There is no need to link against
|
|
libxml2 for the stonith_helper tool.
|
|
|
|
Reported-by: Ferenc Wágner <wferi@debian.org>
|
|
---
|
|
fence/Makefile | 2 --
|
|
1 file changed, 2 deletions(-)
|
|
|
|
diff --git a/fence/Makefile b/fence/Makefile
|
|
index 2b080468eaa0..547f7ba946ff 100644
|
|
--- a/fence/Makefile
|
|
+++ b/fence/Makefile
|
|
@@ -18,12 +18,10 @@ CFLAGS += -D_GNU_SOURCE -O2 -ggdb \
|
|
-fstack-clash-protection -Wl,-z,now
|
|
|
|
CFLAGS += -fPIE -DPIE
|
|
-CFLAGS += `xml2-config --cflags`
|
|
CFLAGS += -I../include
|
|
CFLAGS += $(shell pkg-config --cflags pacemaker-fencing)
|
|
|
|
LDFLAGS += -Wl,-z,relro -Wl,-z,defs -pie
|
|
-LDFLAGS += `xml2-config --libs`
|
|
LDFLAGS += -ldl
|
|
|
|
all: $(BIN_TARGET)
|
|
--
|
|
2.7.5
|
|
|