Blame SOURCES/0002-stonith_helper-Don-t-link-dlm_stonith-against-libxml.patch

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