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

60da09
From 8bcaf32662ff762c2cab3d4b1f96c38965304e30 Mon Sep 17 00:00:00 2001
50a52f
From: rpm-build <rpm-build>
50a52f
Date: Wed, 16 Oct 2019 23:17:20 -0700
60da09
Subject: [PATCH 1/1] fix upstream build breakage of iscsiuio LDFLAGS
50a52f
50a52f
---
60da09
 iscsiuio/configure.ac | 2 +-
60da09
 1 file changed, 1 insertion(+), 1 deletion(-)
50a52f
50a52f
diff --git a/iscsiuio/configure.ac b/iscsiuio/configure.ac
60da09
index 9b85448..1b9fb27 100644
50a52f
--- a/iscsiuio/configure.ac
50a52f
+++ b/iscsiuio/configure.ac
60da09
@@ -72,7 +72,7 @@ AC_ARG_WITH([systemd],
50a52f
      *)   AC_MSG_ERROR([bad value $withval for --with-systemd]) ;;
60da09
      esac],[with_libsystemd=auto])
60da09
 AS_IF([test "$with_libsystemd" != no],[
60da09
-    PKG_CHECK_MODULES([LIBSYSTEMD],[libsystemd],[LDFLAGS=$LIBSYSTEMD_LIBS],[
60da09
+    PKG_CHECK_MODULES([LIBSYSTEMD],[libsystemd],[LDFLAGS="${LDFLAGS} $LIBSYSTEMD_LIBS"],[
60da09
         if test "$with_libsystemd" = yes; then
60da09
             AC_MSG_ERROR([could not find libsystemd using pkg-config])
60da09
 	else
50a52f
-- 
60da09
2.31.1
50a52f