diff options
author | Sam James <sam@gentoo.org> | 2022-04-03 03:22:32 +0100 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2022-04-03 03:23:23 +0100 |
commit | 96667e0e06a65c94fd875db048776aad29eea829 (patch) | |
tree | 3383dc2b9bcf8bead09a6976e5c9644209d316b6 | |
parent | 7cc15a8133ca5fbd9ea0e16296371a7219f329f4 (diff) | |
download | open-iscsi-96667e0e06a65c94fd875db048776aad29eea829.tar.gz |
iscsiuio: don't clobber LDFLAGS in configure.ac
The systemd check currently clobbers LDFLAGS from the environment
rather than appending to it.
But we actually want LIBS here anyway, rather than LDFLAGS.
Signed-off-by: Sam James <sam@gentoo.org>
-rw-r--r-- | iscsiuio/configure.ac | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/iscsiuio/configure.ac b/iscsiuio/configure.ac index 9b85448..c53bd27 100644 --- a/iscsiuio/configure.ac +++ b/iscsiuio/configure.ac @@ -72,7 +72,7 @@ AC_ARG_WITH([systemd], *) AC_MSG_ERROR([bad value $withval for --with-systemd]) ;; esac],[with_libsystemd=auto]) AS_IF([test "$with_libsystemd" != no],[ - PKG_CHECK_MODULES([LIBSYSTEMD],[libsystemd],[LDFLAGS=$LIBSYSTEMD_LIBS],[ + PKG_CHECK_MODULES([LIBSYSTEMD],[libsystemd],[LIBS="${LIBS} $LIBSYSTEMD_LIBS"],[ if test "$with_libsystemd" = yes; then AC_MSG_ERROR([could not find libsystemd using pkg-config]) else |