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