mirror of
https://github.com/ading2210/libcurl.js.git
synced 2025-05-12 22:10:01 -04:00
fix cjson compile issues
This commit is contained in:
parent
e030ca6712
commit
e695b1d14a
6 changed files with 47 additions and 24 deletions
|
@ -14,7 +14,10 @@ rm -rf cjson
|
|||
git clone -b master --depth=1 https://github.com/DaveGamble/cJSON cjson
|
||||
cd cjson
|
||||
|
||||
emmake make all
|
||||
sed -i 's/-fstack-protector-strong//' Makefile
|
||||
sed -i 's/-fstack-protector//' Makefile
|
||||
|
||||
emmake make CC="emcc" static
|
||||
INCLUDE_FILES="cJSON.h cJSON_Utils.h"
|
||||
LIB_FILES="libcjson.a libcjson_utils.a"
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue