mirror of
https://github.com/lifegpc/pixiv_downloader.git
synced 2026-06-06 13:59:08 +08:00
7 lines
369 B
Bash
Executable File
7 lines
369 B
Bash
Executable File
export PREFIX=`pwd`/clib
|
|
mkdir -p cbuild && cd cbuild || exit 1
|
|
git clone --depth 1 'https://github.com/nih-at/libzip' && cd libzip || exit 1
|
|
mkdir -p build && cd build || exit 1
|
|
cmake -DCMAKE_BUILD_TYPE=Release "-DCMAKE_INSTALL_PREFIX=$PREFIX" -DBUILD_TOOLS=OFF -DBUILD_REGRESS=OFF -DBUILD_EXAMPLES=OFF -DBUILD_DOC=OFF ../ || exit 1
|
|
make -j8 && make install || exit 1
|