Fix build scripts

This commit is contained in:
Tindy X committed 2021-03-24 02:56:03 +08:00
1 parent 49e1c01283
commit 6e01e542fb
3 files changed
+4 -4

No files matched your search

+2 -2
View File
@@ -9,7 +9,7 @@ RUN apk add --no-cache --virtual .build-tools git g++ build-base linux-headers c
cd quickjspp && \
git submodule update --init && \
cmake -DCMAKE_BUILD_TYPE=Release . && \
make -j2 && \
make quickjs -j2 && \
install -m644 quickjs/libquickjs.a /usr/lib && \
install -d /usr/include/quickjs/ && \
install -m644 quickjs/quickjs.h quickjs/quickjs-libc.h /usr/include/quickjs/ && \
@@ -18,7 +18,7 @@ RUN apk add --no-cache --virtual .build-tools git g++ build-base linux-headers c
git clone https://github.com/PerMalmberg/libcron --depth=1 && \
cd libcron && \
cmake -DCMAKE_BUILD_TYPE=Release . && \
make -j4 && \
make libcron -j4 && \
install -m644 libcron/out/Release/liblibcron.a /usr/lib/ && \
install -d /usr/include/libcron/ && \
install -m644 libcron/include/libcron/* /usr/include/libcron/ && \