From 0d8f36923a50eeb318e1c81a22ac6eb80622d3f5 Mon Sep 17 00:00:00 2001 From: Yureka Date: Sat, 7 Aug 2021 13:22:12 +0200 Subject: [PATCH] emscriptenPackages.zlib: fix checks Co-authored-by: Alexander Khovansky --- pkgs/top-level/emscripten-packages.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/top-level/emscripten-packages.nix b/pkgs/top-level/emscripten-packages.nix index 9ae97cdf35a0..0d2197faae09 100644 --- a/pkgs/top-level/emscripten-packages.nix +++ b/pkgs/top-level/emscripten-packages.nix @@ -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