From 71969e6b21b476371516657e654db5eaffd621b4 Mon Sep 17 00:00:00 2001 From: Jane Chu <7559015+janechu@users.noreply.github.com> Date: Mon, 10 Aug 2020 15:10:46 -0700 Subject: [PATCH] attempt to ensure fmod math.h is present for compile --- packages/tooling/fast-tooling-wasm/permutator/build.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/tooling/fast-tooling-wasm/permutator/build.js b/packages/tooling/fast-tooling-wasm/permutator/build.js index 633f0536039..35881b94246 100644 --- a/packages/tooling/fast-tooling-wasm/permutator/build.js +++ b/packages/tooling/fast-tooling-wasm/permutator/build.js @@ -18,7 +18,7 @@ const emccFiles = ["wasm.c", "permutate.c"].concat(commonFiles).join(" "); /** * Test file needed for compilation */ -const staticTestFilesCompile = `gcc -Wall -L. "-Wl,-rpath,." -o test test.c -ldl -lpermutate -o test`; +const staticTestFilesCompile = `gcc -Wall -L. "-Wl,-rpath,." -o test test.c -ldl -lpermutate -lm -o test`; const sharedLibSetup = `gcc -Wall -c -fPIC permutate.c -o libpermutate.o`; const sharedLibCompile = `gcc -Wall -shared -fPIC -o libpermutate.so ${commonFiles.join( " "