Blame SOURCES/0020-fix-upstream-build-breakage-of-iscsiuio-LDFLAGS.patch

fef8d1
From c852ca6300bc3fcf765744506222ff6da4296127 Mon Sep 17 00:00:00 2001
46c2f0
From: rpm-build <rpm-build>
46c2f0
Date: Wed, 16 Oct 2019 23:17:20 -0700
46c2f0
Subject: [PATCH] fix upstream build breakage of iscsiuio LDFLAGS
46c2f0
46c2f0
---
46c2f0
 iscsiuio/configure.ac | 4 ++--
46c2f0
 1 file changed, 2 insertions(+), 2 deletions(-)
46c2f0
46c2f0
diff --git a/iscsiuio/configure.ac b/iscsiuio/configure.ac
fef8d1
index 8099f09..733214d 100644
46c2f0
--- a/iscsiuio/configure.ac
46c2f0
+++ b/iscsiuio/configure.ac
46c2f0
@@ -67,10 +67,10 @@ AM_CONDITIONAL([DEBUG], [test x$debug = xtrue])
46c2f0
 AC_ARG_WITH([systemd],
46c2f0
 	    AS_HELP_STRING([--without-systemd], [Build without systemd]),
46c2f0
     [case "${withval}" in
46c2f0
-     yes) LDFLAGS="`pkg-config --libs libsystemd`" ;;
46c2f0
+     yes) LDFLAGS="${LDFLAGS} `pkg-config --libs libsystemd`" ;;
46c2f0
      no)  CFLAGS="${CFLAGS} -DNO_SYSTEMD" ;;
46c2f0
      *)   AC_MSG_ERROR([bad value $withval for --with-systemd]) ;;
46c2f0
-     esac],[LDFLAGS="`pkg-config --libs libsystemd`"])
46c2f0
+     esac],[LDFLAGS="${LDFLAGS} `pkg-config --libs libsystemd`"])
46c2f0
 
46c2f0
 AC_CONFIG_COMMANDS([default],[[
46c2f0
     if [ -n "$SOURCE_DATE_EPOCH" ] ; then
46c2f0
-- 
fef8d1
2.26.2
46c2f0