diff options
author | Adam Harrison <adamdharrison@gmail.com> | 2022-12-27 23:37:30 -0500 |
---|---|---|
committer | Adam Harrison <adamdharrison@gmail.com> | 2022-12-27 23:37:30 -0500 |
commit | 966e02a42546949170a1deb5e38dc93b63fdf6fb (patch) | |
tree | 17b2d74611cd6ebb37af43585e4a8bc6c7455172 /build.sh | |
parent | 37e00da1c6714346487eb1a0ec21afe704f712ef (diff) | |
download | lite-xl-plugin-manager-966e02a42546949170a1deb5e38dc93b63fdf6fb.tar.gz lite-xl-plugin-manager-966e02a42546949170a1deb5e38dc93b63fdf6fb.zip |
Added in "post" key.
Diffstat (limited to 'build.sh')
-rwxr-xr-x | build.sh | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -17,7 +17,7 @@ CMAKE_DEFAULT_FLAGS=" $CMAKE_DEFAULT_FLAGS -DCMAKE_BUILD_TYPE=Release -DCMAKE_PR mkdir -p lib/prefix/include lib/prefix/lib if [[ "$@" != *"-lz"* ]]; then [ ! -e "lib/zlib" ] && echo "Make sure you've cloned submodules. (git submodule update --init --depth=1)" && exit -1 - [[ ! -e "lib/zlib/build" && $OSTYPE != 'msys'* ]] && cd lib/zlib && mkdir build && cd build && $CC -I.. ../*.c -c && ar rc libz.a *.o && cp libz.a ../../prefix/lib && cp ../*.h ../../prefix/include && cd ../../../ + [[ ! -e "lib/zlib/build" && $OSTYPE != 'msys'* ]] && cd lib/zlib && mkdir build && cd build && $CC -D_LARGEFILE64_SOURCE -I.. ../*.c -c && ar rc libz.a *.o && cp libz.a ../../prefix/lib && cp ../*.h ../../prefix/include && cd ../../../ LDFLAGS="$LDFLAGS -l:libz.a" fi if [[ "$@" != *"-lmbedtls"* && "$@" != *"-lmbedcrypto"* ]]; then |