SDL_gfx: fix cross build

This commit is contained in:
FliegendeWurst
2025-01-06 09:50:53 +01:00
parent 045d5755a2
commit b3b3fe03c4
+2 -2
View File
@@ -16,13 +16,13 @@ stdenv.mkDerivation (finalAttrs: {
hash = "sha256-37FaxfjOeklS3BLSrtl0dRjF5rM1wOMWNtI/k8Yw9Bk=";
};
nativeBuildInputs = [ SDL ];
buildInputs = [ SDL ];
# SDL_gfx.pc refers to sdl.pc and some SDL_gfx headers import SDL.h
propagatedBuildInputs = [ SDL ];
env.SDL_CONFIG = lib.getExe' SDL.dev "sdl-config";
configureFlags = [
(lib.enableFeature false "mmx")
(lib.enableFeature enableSdltest "sdltest")