Skip to content

Commit 0b9a29e

Browse files
committed
指定libuv和libwebsockets的编译版本
1 parent 5ae8505 commit 0b9a29e

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

01-download.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ wget https://openssl.org/source/openssl-1.0.2g.tar.gz
1111

1212
[ ! -f libuv.tar.gz ] && {
1313
git clone https://github.com/libuv/libuv.git
14+
cd libuv && git checkout -b v1.9.1 v1.9.1 && cd ..
1415
tar caf libuv.tar.gz libuv
1516
}
1617

@@ -21,5 +22,6 @@ tar caf gyp.tar.gz gyp
2122

2223
[ ! -f libwebsockets.tar.gz ] && {
2324
git clone https://github.com/warmcat/libwebsockets.git
25+
cd libwebsockets && git checkout -b v2.3.0 v2.3.0 && cd ..
2426
tar caf libwebsockets.tar.gz libwebsockets
25-
}
27+
}

02-prebuild.sh

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,5 +13,4 @@ mkdir -p libuv/build
1313
mkdir -p libuv/out
1414
tar xf gyp.tar.gz -C libuv/build
1515
tar xf libwebsockets.tar.gz
16-
cd libwebsockets && git checkout -b v2.3.0 v2.3.0
1716

0 commit comments

Comments
 (0)