From 6509b7b6de0b4a399627808229416c043da4fc52 Mon Sep 17 00:00:00 2001 From: Alexander Aring Date: Dec 02 2021 19:50:31 +0000 Subject: stonith_helper: Don't link dlm_stonith against libxml2 Took it from the debian patches. There is no need to link against libxml2 for the stonith_helper tool. Reported-by: Ferenc Wágner --- diff --git a/fence/Makefile b/fence/Makefile index 2b08046..547f7ba 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)