mirror of
https://github.com/tsl0922/ttyd.git
synced 2025-12-20 02:44:19 +01:00
scripts: enable ipv6 support for lws
This commit is contained in:
@@ -18,12 +18,12 @@ install: |
|
||||
pushd /tmp
|
||||
curl -sLo- https://github.com/warmcat/libwebsockets/archive/v$LIBWEBSOCKETS_VERSION.tar.gz | tar xz
|
||||
cd libwebsockets-$LIBWEBSOCKETS_VERSION
|
||||
cmake $CMAKE_OPTIONS .
|
||||
cmake -DLWS_UNIX_SOCK=ON -DLWS_IPV6=ON -DCMAKE_BUILD_TYPE=RELEASE .
|
||||
make && sudo make install
|
||||
popd
|
||||
script: |
|
||||
mkdir build && cd build
|
||||
cmake $CMAKE_OPTIONS ..
|
||||
cmake -DCMAKE_BUILD_TYPE=RELEASE ..
|
||||
make && sudo make install
|
||||
ttyd -v
|
||||
jobs:
|
||||
|
||||
@@ -72,6 +72,7 @@ build_libwebsockets() {
|
||||
-DLWS_STATIC_PIC=ON \
|
||||
-DLWS_WITH_SHARED=OFF \
|
||||
-DLWS_UNIX_SOCK=ON \
|
||||
-DLWS_IPV6=ON \
|
||||
-DCMAKE_TOOLCHAIN_FILE=../../cross-$TARGET.cmake \
|
||||
-DCMAKE_INSTALL_PREFIX=$STAGE_DIR \
|
||||
..
|
||||
|
||||
Reference in New Issue
Block a user