Fix mesa compilation

This commit is contained in:
Wildan M 2025-12-08 10:48:51 -05:00
parent 3471e9910a
commit 1ca17090a9
No known key found for this signature in database
GPG Key ID: 01AC53185C679C79
3 changed files with 7 additions and 1 deletions

View File

@ -1,6 +1,8 @@
[build]
template = "custom"
script = """
if [ "$TARGET" != "$COOKBOOK_HOST_TARGET" ]; then
mkdir -p "${COOKBOOK_STAGE}/lib"
cp -av ${COOKBOOK_HOST_SYSROOT}/${GNU_TARGET}/lib/libstdc++.so* ${COOKBOOK_STAGE}/lib/
fi
"""

View File

@ -14,6 +14,8 @@ dependencies = [
]
dev-dependencies = [
"llvm21.dev",
"host:llvm21.dev",
"host:llvm21.runtime",
]
script = """
DYNAMIC_INIT

View File

@ -17,7 +17,9 @@ dependencies = [
"zlib",
]
dev-dependencies = [
"llvm21.dev"
"llvm21.dev",
"host:llvm21.dev",
"host:llvm21.runtime",
]
script = """