diff options
Diffstat (limited to 'debian/nodejs/llhttp')
-rw-r--r-- | debian/nodejs/llhttp/build | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/debian/nodejs/llhttp/build b/debian/nodejs/llhttp/build new file mode 100644 index 0000000..d886f85 --- /dev/null +++ b/debian/nodejs/llhttp/build @@ -0,0 +1,10 @@ +ts-node bin/generate.ts +tsc +export RELEASE=`pkgjs-pjson . version` +WASI_ROOT=/usr ts-node bin/build_wasm.ts +export CFLAGS="$CFLAGS -gdwarf-4" +export LDFLAGS="$LDFLAGS" +make release build/libllhttp.a build/libllhttp.so +(cd ..;dh_auto_configure --buildsystem=cmake -Dllhttp/release -- -DCMAKE_BUILD_TYPE=Release) +(cd ..;dh_auto_build --buildsystem=cmake) +find . -type f |