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