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

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