boxedwine: compile dynamically

This commit is contained in:
Jeremy Soller 2025-04-10 15:46:23 -06:00
parent 35cbc8ecac
commit 40de561b67
No known key found for this signature in database
GPG Key ID: 670FDFB5428E05CA

View File

@ -15,6 +15,7 @@ dependencies = [
"zlib",
]
script = """
DYNAMIC_INIT
cd "${COOKBOOK_SOURCE}/project/linux"
#TODO: USE MAKEFILE
#TODO: USE X64 CPU CORE
@ -81,7 +82,6 @@ ${TARGET}-gcc -std=c++17 -O2 \
-DGLEW_OSMESA \
-DSDL2=1 \
-DSIMDE_SSE2_NO_NATIVE \
-static \
-o "${COOKBOOK_BUILD}/boxedwine"
mkdir -p "${COOKBOOK_STAGE}/bin"
cp -v "${COOKBOOK_BUILD}/boxedwine" "${COOKBOOK_STAGE}/bin/boxedwine"