sdl2-image: compile dynamically

This commit is contained in:
Jeremy Soller 2025-04-11 14:40:15 -06:00
parent 8cd41a714c
commit 4a30b2e4ad
No known key found for this signature in database
GPG Key ID: 670FDFB5428E05CA

View File

@ -13,15 +13,15 @@ dependencies = [
"zlib",
]
script = """
DYNAMIC_INIT
export SDL_LIBS="-lSDL2 -lorbital $("${TARGET}-pkg-config" --libs osmesa) -lstdc++"
COOKBOOK_CONFIGURE_FLAGS=(
--prefix=/
--prefix=/usr
--host="${TARGET}"
--disable-shared
--disable-sdltest
--enable-shared
--enable-png
--enable-jpg
)
set -x
cookbook_configure
"""