netsurf.browser: fix darwin builds (#355038)
This commit is contained in:
commit
e635cf8d9f
@ -109,6 +109,8 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
|
||||
env.CFLAGS = lib.optionalString stdenv.hostPlatform.isDarwin "-D_DARWIN_C_SOURCE";
|
||||
|
||||
env.NIX_LDFLAGS = lib.optionalString stdenv.hostPlatform.isDarwin "-liconv";
|
||||
|
||||
patchPhase = lib.optionalString stdenv.cc.isClang ''
|
||||
runHook prePatch
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user