Blame SOURCES/0001-build-Do-not-link-with-pcmk-libraries.patch

a55cd4
From 2f944ea46b1b39113a34ca586cd8e3cd8f0d1d70 Mon Sep 17 00:00:00 2001
a55cd4
From: Jan Friesse <jfriesse@redhat.com>
a55cd4
Date: Wed, 3 Jun 2020 15:04:56 +0200
a55cd4
Subject: [PATCH] build: Do not link with pcmk libraries
a55cd4
a55cd4
Patch 4205de05fe337d1b1127fae302e6e6c2f0613ccf introduced better way to
a55cd4
check for pacemaker headers but also usage of PCMK_LIBS when linking
a55cd4
boothd.
a55cd4
a55cd4
This is not needed, because boothd uses just crm/services.h header file
a55cd4
for inclusion of OCF return codes, so patch removes the use of PCMK_LIBS.
a55cd4
a55cd4
Signed-off-by: Jan Friesse <jfriesse@redhat.com>
a55cd4
---
a55cd4
 src/Makefile.am | 2 +-
a55cd4
 1 file changed, 1 insertion(+), 1 deletion(-)
a55cd4
a55cd4
diff --git a/src/Makefile.am b/src/Makefile.am
a55cd4
index 8598725..4023791 100644
a55cd4
--- a/src/Makefile.am
a55cd4
+++ b/src/Makefile.am
a55cd4
@@ -23,7 +23,7 @@ boothd_SOURCES		+= auth.c
a55cd4
 endif
a55cd4
 
a55cd4
 boothd_LDFLAGS		= $(OS_DYFLAGS) -L./
a55cd4
-boothd_LDADD		= -lm $(GLIB_LIBS) $(ZLIB_LIBS) $(PCMK_LIBS)
a55cd4
+boothd_LDADD		= -lm $(GLIB_LIBS) $(ZLIB_LIBS)
a55cd4
 boothd_CFLAGS		= $(GLIB_CFLAGS) $(PCMK_CFLAGS)
a55cd4
 
a55cd4
 if !LOGGING_LIBQB
a55cd4
-- 
a55cd4
2.18.2
a55cd4