Skip to content

Commit

Permalink
attempt to ensure fmod math.h is present for compile
Browse files Browse the repository at this point in the history
  • Loading branch information
janechu committed Aug 10, 2020
1 parent 5d44b74 commit 71969e6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/tooling/fast-tooling-wasm/permutator/build.js
Original file line number Diff line number Diff line change
Expand Up @@ -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(
" "
Expand Down

0 comments on commit 71969e6

Please sign in to comment.