Skip to content

Commit a27c81d

Browse files
committed
cross: update dependencies
1 parent 8c066c3 commit a27c81d

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

scripts/cross-build.sh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@ BUILD_ROOT="${BUILD_ROOT:-/opt/build}"
1111
BUILD_TARGET="${BUILD_TARGET:-x86_64}"
1212

1313
ZLIB_VERSION="${ZLIB_VERSION:-1.3}"
14-
JSON_C_VERSION="${JSON_C_VERSION:-0.16}"
15-
MBEDTLS_VERSION="${MBEDTLS_VERSION:-2.28.1}"
16-
LIBUV_VERSION="${LIBUV_VERSION:-1.44.2}"
14+
JSON_C_VERSION="${JSON_C_VERSION:-0.17}"
15+
MBEDTLS_VERSION="${MBEDTLS_VERSION:-2.28.5}"
16+
LIBUV_VERSION="${LIBUV_VERSION:-1.46.0}"
1717
LIBWEBSOCKETS_VERSION="${LIBWEBSOCKETS_VERSION:-4.3.2}"
1818

1919
build_zlib() {
@@ -122,7 +122,7 @@ build_ttyd() {
122122
-DCMAKE_INSTALL_PREFIX="${STAGE_DIR}" \
123123
-DCMAKE_FIND_LIBRARY_SUFFIXES=".a" \
124124
-DCMAKE_C_FLAGS="-Os -ffunction-sections -fdata-sections -fno-unwind-tables -fno-asynchronous-unwind-tables -flto" \
125-
-DCMAKE_EXE_LINKER_FLAGS="-static -no-pie -Wl,-s -Wl,-Bsymbolic -Wl,--gc-sections" \
125+
-DCMAKE_EXE_LINKER_FLAGS="-ldbghelp -static -no-pie -Wl,-s -Wl,-Bsymbolic -Wl,--gc-sections" \
126126
-DCMAKE_BUILD_TYPE=RELEASE \
127127
..
128128
make install

0 commit comments

Comments
 (0)