diff options
-rw-r--r-- | configure.ac | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac index f925358..870dfb9 100644 --- a/configure.ac +++ b/configure.ac @@ -174,7 +174,7 @@ if test "x$enable_lz4" = "xyes"; then if test "x${have_lz4h}" = "xyes" ; then saved_LDFLAGS=${LDFLAGS} - LDFLAGS="-L$with_lz4_libdir ${LDFLAGS}" + test -z "${with_lz4_libdir}" || LDFLAGS="-L$with_lz4_libdir ${LDFLAGS}" AC_CHECK_LIB(lz4, LZ4_compress_destSize, [ have_lz4="yes" have_lz4hc="yes" |