emscriptenPackages.zlib: fix checks

Co-authored-by: Alexander Khovansky <alex@khovansky.me>
This commit is contained in:
Yureka 2021-08-07 13:22:12 +02:00
parent 691464d120
commit 0d8f36923a

View file

@ -163,7 +163,7 @@ rec {
echo "Compiling a custom test"
set -x
emcc -O2 -s EMULATE_FUNCTION_POINTER_CASTS=1 test/example.c -DZ_SOLO \
libz.so.${old.version} -I . -o example.js
-L. libz.so.${old.version} -I . -o example.js
echo "Using node to execute the test"
${pkgs.nodejs}/bin/node ./example.js