From: Alexander Aring Date: Thu, 2 Dec 2021 15:20:37 -0500 Subject: [Cluster-devel] [PATCH dlm-tool 4/6] stonith_helper: Don't link dlm_stonith against libxml2 In-Reply-To: <20211202202039.1386193-1-aahringo@redhat.com> References: <20211202202039.1386193-1-aahringo@redhat.com> Message-ID: <20211202202039.1386193-5-aahringo@redhat.com> List-Id: To: cluster-devel.redhat.com MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Took it from the debian patches. There is no need to link against libxml2 for the stonith_helper tool. Reported-by: Ferenc W?gner --- fence/Makefile | 2 -- 1 file changed, 2 deletions(-) diff --git a/fence/Makefile b/fence/Makefile index 2b080468..547f7ba9 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.27.0