diff --git a/scripts/cross-build.sh b/scripts/cross-build.sh index e043bfd9..3ab6b3e9 100755 --- a/scripts/cross-build.sh +++ b/scripts/cross-build.sh @@ -11,9 +11,9 @@ BUILD_ROOT="${BUILD_ROOT:-/opt/build}" BUILD_TARGET="${BUILD_TARGET:-x86_64}" ZLIB_VERSION="${ZLIB_VERSION:-1.3}" -JSON_C_VERSION="${JSON_C_VERSION:-0.16}" -MBEDTLS_VERSION="${MBEDTLS_VERSION:-2.28.1}" -LIBUV_VERSION="${LIBUV_VERSION:-1.44.2}" +JSON_C_VERSION="${JSON_C_VERSION:-0.17}" +MBEDTLS_VERSION="${MBEDTLS_VERSION:-2.28.5}" +LIBUV_VERSION="${LIBUV_VERSION:-1.46.0}" LIBWEBSOCKETS_VERSION="${LIBWEBSOCKETS_VERSION:-4.3.2}" build_zlib() { @@ -122,7 +122,7 @@ build_ttyd() { -DCMAKE_INSTALL_PREFIX="${STAGE_DIR}" \ -DCMAKE_FIND_LIBRARY_SUFFIXES=".a" \ -DCMAKE_C_FLAGS="-Os -ffunction-sections -fdata-sections -fno-unwind-tables -fno-asynchronous-unwind-tables -flto" \ - -DCMAKE_EXE_LINKER_FLAGS="-static -no-pie -Wl,-s -Wl,-Bsymbolic -Wl,--gc-sections" \ + -DCMAKE_EXE_LINKER_FLAGS="-ldbghelp -static -no-pie -Wl,-s -Wl,-Bsymbolic -Wl,--gc-sections" \ -DCMAKE_BUILD_TYPE=RELEASE \ .. make install