* [PATCH] erofs-utils: fix --with-lz4-libdir when lz4_force_static is off
@ 2021-08-17 13:02 Gao Xiang
0 siblings, 0 replies; only message in thread
From: Gao Xiang @ 2021-08-17 13:02 UTC (permalink / raw)
To: linux-erofs; +Cc: Gao Xiang
--with-lz4-libdir doesn't work for lz4 1.9.x, hopefully it works for
all cases now.
Fixes: c497d89e5eac ("erofs-utils: enhance static linking for lz4 1.8.x")
Signed-off-by: Gao Xiang <xiang@kernel.org>
---
configure.ac | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/configure.ac b/configure.ac
index 38c371c4910f..35106094d9f9 100644
--- a/configure.ac
+++ b/configure.ac
@@ -285,7 +285,7 @@ if test "x${have_lz4}" = "xyes"; then
LZ4_LIBS="-Wl,-Bstatic -Wl,-whole-archive -Xlinker ${LZ4_LIBS} -Wl,-no-whole-archive -Wl,-Bdynamic"
test -z "${with_lz4_libdir}" || LZ4_LIBS="-L${with_lz4_libdir} $LZ4_LIBS"
else
- test -z "${with_lz4_libdir}" || LZ4_LIBS="-R${with_lz4_libdir} $LZ4_LIBS"
+ test -z "${with_lz4_libdir}" || LZ4_LIBS="-L${with_lz4_libdir} -R${with_lz4_libdir} $LZ4_LIBS"
fi
liblz4_LIBS="${LZ4_LIBS}"
fi
--
2.20.1
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2021-08-17 13:02 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-08-17 13:02 [PATCH] erofs-utils: fix --with-lz4-libdir when lz4_force_static is off Gao Xiang
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.