Merge pull request #132570 from yu-re-ka/feature/emscripten-bind-cache

emscripten: generate libembind*.a

authored by

Gabriel Ebner and committed by
GitHub
16240ddd beb8b3d8

+5 -3
+5 -3
pkgs/development/compilers/emscripten/default.nix
··· 92 92 # wasm2c doesn't work with PIC 93 93 $out/bin/emcc -s WASM2C -s STANDALONE_WASM $LTO test.c 94 94 95 - for MT in "" "-s USE_PTHREADS"; do 96 - for RELOCATABLE in "" "-s RELOCATABLE"; do 97 - $out/bin/emcc $RELOCATABLE $MT $LTO test.c 95 + for BIND in "" "--bind"; do 96 + for MT in "" "-s USE_PTHREADS"; do 97 + for RELOCATABLE in "" "-s RELOCATABLE"; do 98 + $out/bin/emcc $RELOCATABLE $BIND $MT $LTO test.c 99 + done 98 100 done 99 101 done 100 102 done