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

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