diff options
author | Adam Harrison <adamdharrison@gmail.com> | 2023-06-27 10:26:42 -0400 |
---|---|---|
committer | Adam Harrison <adamdharrison@gmail.com> | 2023-06-27 10:26:42 -0400 |
commit | 02586b9fa37bc6ad42bd1e59321bb2334bec6433 (patch) | |
tree | e348a62d8cb87b4914b27bdf6fc1825b53812cb4 /build.sh | |
parent | f69e69b5bb5ecff0bf8154b9aab0e1c8a1dc265e (diff) | |
download | lite-xl-plugin-manager-02586b9fa37bc6ad42bd1e59321bb2334bec6433.tar.gz lite-xl-plugin-manager-02586b9fa37bc6ad42bd1e59321bb2334bec6433.zip |
Fixed some minor bugs, moved json to a library, updated manifest to reflect this.
Diffstat (limited to 'build.sh')
-rwxr-xr-x | build.sh | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -21,7 +21,7 @@ if [[ "$@" != *"-lz"* ]]; then [[ ! -e "lib/zlib/build" && $OSTYPE != 'msys'* ]] && cd lib/zlib && mkdir build && cd build && $CC $CFLAGS -O3 -D_LARGEFILE64_SOURCE -I.. ../*.c -c && $AR rc libz.a *.o && cp libz.a ../../prefix/lib && cp ../*.h ../../prefix/include && cd ../../../ LDFLAGS="$LDFLAGS -lz" fi -if [[ "$@" != *"-lmbedtls"* && "$@" != *"-lmbedcrypto"* ]]; then +if [[ "$@" != *"-lmbedtls"* && "$@" != *"-lmbedcrypto"* && "$@" != *"-lmbedx509"* ]]; then [ ! -e "lib/mbedtls-2.27.0/build" ] && cd lib/mbedtls-2.27.0 && mkdir build && cd build && CFLAGS="$CFLAGS $CFLAGS_MBEDTLS -DMBEDTLS_MD4_C=1 -w" cmake .. $CMAKE_DEFAULT_FLAGS -G "Unix Makefiles" -DENABLE_TESTING=OFF -DENABLE_PROGRAMS=OFF $SSL_CONFIGURE && CFLAGS="$CFLAGS $CFLAGS_MBEDTLS -DMBEDTLS_MD4_C=1 -w" $MAKE -j $JOBS && $MAKE install && cd ../../../ LDFLAGS="$LDFLAGS -lmbedtls -lmbedx509 -lmbedcrypto" fi |