Try to fix the libbrotli recipe

This commit is contained in:
Ribbon 2025-09-29 08:56:31 -03:00
parent 3ad2cef516
commit 81bce6bf7c

View File

@ -3,19 +3,4 @@
git = "https://github.com/google/brotli"
rev = "ed738e842d2fbdf2d6459e39267a633c4a9b2f5d"
[build]
template = "custom"
script = """
COOKBOOK_CONFIGURE="cmake"
COOKBOOK_CONFIGURE_FLAGS=(
-DCMAKE_BUILD_TYPE=Release
-DCMAKE_CROSSCOMPILING=True
-DCMAKE_EXE_LINKER_FLAGS="-static"
-DCMAKE_INSTALL_PREFIX="/"
-DCMAKE_PREFIX_PATH="${COOKBOOK_SYSROOT}"
-DCMAKE_SYSTEM_NAME=Generic
-DCMAKE_SYSTEM_PROCESSOR="$(echo "${TARGET}" | cut -d - -f1)"
-DCMAKE_VERBOSE_MAKEFILE=On
"${COOKBOOK_SOURCE}"
)
cookbook_configure
"""
template = "cmake"