From 4a30b2e4ad31ae6f4ad364caee90c9af2a8ea144 Mon Sep 17 00:00:00 2001 From: Jeremy Soller Date: Fri, 11 Apr 2025 14:40:15 -0600 Subject: [PATCH] sdl2-image: compile dynamically --- recipes/libs/sdl2-image/recipe.toml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/recipes/libs/sdl2-image/recipe.toml b/recipes/libs/sdl2-image/recipe.toml index 4c36128e0..94c49908d 100644 --- a/recipes/libs/sdl2-image/recipe.toml +++ b/recipes/libs/sdl2-image/recipe.toml @@ -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 """