Skip to content

Commit 7a225bc

Browse files
committed
Add emar and emranlib to ghc js builds
1 parent b0c2fb3 commit 7a225bc

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

compiler/ghc/default.nix

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -401,7 +401,9 @@ stdenv.mkDerivation (rec {
401401
export CC="${targetCC}/bin/emcc"
402402
export CXX="${targetCC}/bin/em++"
403403
export LD="${targetCC}/bin/emcc"
404+
export AR="${targetCC}/bin/emar"
404405
export NM="${targetCC}/share/emscripten/emnm"
406+
export RANLIB="${targetCC}/bin/emranlib"
405407
export EM_CACHE=$(mktemp -d)
406408
mv config.sub.ghcjs config.sub
407409
''

0 commit comments

Comments
 (0)