SDL_ttf: fix build on darwin (#396668)

This commit is contained in:
Weijia Wang 2025-04-07 09:05:44 +02:00 committed by GitHub
commit da3ddfd8ae
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -33,6 +33,8 @@ stdenv.mkDerivation (finalAttrs: {
(lib.enableFeature enableSdltest "sdltest") (lib.enableFeature enableSdltest "sdltest")
]; ];
env.NIX_LDFLAGS = lib.optionalString stdenv.hostPlatform.isDarwin "-liconv";
strictDeps = true; strictDeps = true;
passthru.updateScript = unstableGitUpdater { passthru.updateScript = unstableGitUpdater {