mirror of
https://github.com/ading2210/libcurl.js.git
synced 2025-05-13 06:20:02 -04:00
initial commit
This commit is contained in:
commit
27aa9ff74c
8 changed files with 134 additions and 0 deletions
6
build.sh
Executable file
6
build.sh
Executable file
|
@ -0,0 +1,6 @@
|
|||
#!/bin/bash
|
||||
|
||||
if [ ! -f cacert.pem ]; then
|
||||
wget "https://curl.se/ca/cacert.pem"
|
||||
fi
|
||||
emcc main.c -lcurl -lssl -lcrypto -I curl-wasm/include/ -L curl-wasm/lib/ -lwebsocket.js -sWEBSOCKET_URL=wss://debug.ading.dev/ws -pthread -sPROXY_TO_PTHREAD --preload-file cacert.pem -Os
|
Loading…
Add table
Add a link
Reference in a new issue