Skip to content

Commit da3ddfd

Browse files
authored
SDL_ttf: fix build on darwin (#396668)
2 parents e3a3c72 + c2de155 commit da3ddfd

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

pkgs/by-name/sd/SDL_ttf/package.nix

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,8 @@ stdenv.mkDerivation (finalAttrs: {
3333
(lib.enableFeature enableSdltest "sdltest")
3434
];
3535

36+
env.NIX_LDFLAGS = lib.optionalString stdenv.hostPlatform.isDarwin "-liconv";
37+
3638
strictDeps = true;
3739

3840
passthru.updateScript = unstableGitUpdater {

0 commit comments

Comments
 (0)