From b3fc3612451616c995621006c798f25614504e1c Mon Sep 17 00:00:00 2001 From: Packit Service Date: Dec 09 2020 17:31:19 +0000 Subject: Apply patch 0020-fix-upstream-build-breakage-of-iscsiuio-LDFLAGS.patch patch_name: 0020-fix-upstream-build-breakage-of-iscsiuio-LDFLAGS.patch present_in_specfile: true location_in_specfile: 20 --- diff --git a/iscsiuio/configure.ac b/iscsiuio/configure.ac index b41df0e..a856cc5 100644 --- 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