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

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