mirror of
https://github.com/libguestfs/libguestfs.git
synced 2026-03-21 22:53:37 +00:00
daemon: Find -lcamlstr{nat,byt} and -lunix{nat,byt}, and require -lzstd
OCaml 5.1 changes the names of these libraries for some reason. Also in OCaml 5.1, if using those libraries you must link with -lzstd. Since zstd was already described as "required" (although we only used it in the appliance), there is no official change to the requirements, but I have added a configure time check for the library. Thanks: Jerry James <loganjerry@gmail.com>
This commit is contained in:
@@ -248,6 +248,9 @@ PKG_CHECK_MODULES([PCRE2], [libpcre2-8], [], [
|
||||
PCRE_LIBS=`$PCRE2_CONFIG --libs8`
|
||||
])
|
||||
|
||||
dnl Check for zstd (required since OCaml 5.1)
|
||||
PKG_CHECK_MODULES([LIBZSTD], [libzstd])
|
||||
|
||||
dnl Check for Augeas >= 1.2.0 (required).
|
||||
PKG_CHECK_MODULES([AUGEAS],[augeas >= 1.2.0])
|
||||
|
||||
|
||||
Reference in New Issue
Block a user