diff --git a/recipes/dev/git/recipe.toml b/recipes/dev/git/recipe.toml index 043f88f4a..7d057f1c9 100644 --- a/recipes/dev/git/recipe.toml +++ b/recipes/dev/git/recipe.toml @@ -28,6 +28,12 @@ MAKEFLAGS=( BLK_SHA1=1 V=1 ) + +if [ "${COOKBOOK_DYNAMIC}" != "1" ]; then +# git does not use pkgconfig to be aware with zstd + MAKEFLAGS+=( EXTLIBS="-lzstd -lnghttp2 -lz" ) +fi + export CURL_CONFIG="${COOKBOOK_SYSROOT}/usr/bin/curl-config" ./configure \ --host="${GNU_TARGET}" \