Update build scripts

Optimize codes.
This commit is contained in:
Tindy X
2020-07-06 17:57:07 +08:00
parent 1f0b0b1ba8
commit 24550625ee
4 changed files with 36 additions and 11 deletions

View File

@@ -33,7 +33,7 @@ install -m0644 ../extras/module-node/duk_module_node.h /usr/include
cd ../../../..
export PKG_CONFIG_PATH=/usr/lib64/pkgconfig
cmake .
cmake -DCMAKE_BUILD_TYPE=Release .
make -j2
rm subconverter
g++ -o base/subconverter $(find CMakeFiles/subconverter.dir/src/ -name "*.o") -static -lpcre2-8 -levent -lyaml-cpp -L/usr/lib64 -lcurl -lmbedtls -lmbedcrypto -lmbedx509 -lz -lduktape -lduktape_module -O3 -s