update the command to install the latest liba via luarocks
[liba.git] / javascript / make.lua
blob2ab70fcc92bfd5f5700109480884f8968a28ebb1
1 local lm = require("luamake")
2 lm.rootdir = WORKDIR
3 lm.workdir = WORKDIR
4 lm:executable("liba")({
5 defines = { "A_EXPORTS" },
6 includes = { "../include" },
7 sources = { "../src/*.c*", "src/*.c*" },
8 ldflags = { "--bind", "-sWASM_ASYNC_COMPILATION=0" },
9 })