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

221d9a
From 4142125fa296d21a307fb2370b2d4d7e8487f22c 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
221d9a
index b41df0e..a856cc5 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
-- 
221d9a
2.21.0
221d9a