mirror of
https://github.com/switchbrew/switch-tools.git
synced 2025-06-21 21:42:39 +02:00
fix liblz4 checking
This commit is contained in:
parent
ffe4cfd5e2
commit
a600f6403c
12
configure.ac
12
configure.ac
@ -14,12 +14,12 @@ AC_PROG_CC
|
||||
|
||||
|
||||
PKG_CHECK_MODULES([LZ4],
|
||||
[liblz4 >= 1.7.1 liblz4 < 100],
|
||||
[have_lz4="yes"],
|
||||
[LZ4_LIBS="-llz4"] # If this fails, we will do another test next.
|
||||
# We also add set LZ4_LIBS otherwise the
|
||||
# linker will not know about the lz4 library
|
||||
)
|
||||
[liblz4 >= 1.7.1 liblz4 < 100],
|
||||
[have_lz4="yes"],
|
||||
[PKG_CHECK_MODULES([LZ4],
|
||||
[liblz4 >= 131],
|
||||
[have_lz4="yes"])
|
||||
])
|
||||
|
||||
AC_SUBST(LZ4_LIBS)
|
||||
AC_CONFIG_FILES([Makefile])
|
||||
|
Loading…
Reference in New Issue
Block a user