mirror of
https://github.com/netchx/netch.git
synced 2026-04-29 21:59:34 +08:00
[Other] Update build.sh
This commit is contained in:
@@ -3,5 +3,5 @@ mkdir -p "${PWD}/../../build"
|
||||
|
||||
./configure --prefix="${PWD}/../../build" || exit $?
|
||||
|
||||
make install -j2 || exit $?
|
||||
make install -j2
|
||||
exit $?
|
||||
@@ -16,5 +16,5 @@ sed -i "s/^const/extern const/g" src/http.h
|
||||
|
||||
make -j2 || exit $?
|
||||
|
||||
gcc $(find src/ -name "ss_local-*.o") $(find . -name "*.a" ! -name "*.dll.a") "${PWD}/../../build/lib/libev.a" -o ss-local -fstack-protector -static -lpcre -lssl -lcrypto -lws2_32 -s || exit $?
|
||||
gcc $(find src/ -name "ss_local-*.o") $(find . -name "*.a" ! -name "*.dll.a") "${PWD}/../../build/lib/libev.a" -o ss-local -fstack-protector -static -lpcre -lssl -lcrypto -lws2_32 -s
|
||||
exit $?
|
||||
@@ -6,5 +6,5 @@ git submodule update --init || exit $?
|
||||
|
||||
make -j2 || exit $?
|
||||
|
||||
gcc $(find src/ -name "obfs_local-*.o") $(find . -name "*.a" ! -name "*.dll.a") "${PWD}/../../build/lib/libev.a" -o simple-obfs -fstack-protector -static -lws2_32 -s || exit $?
|
||||
gcc $(find src/ -name "obfs_local-*.o") $(find . -name "*.a" ! -name "*.dll.a") "${PWD}/../../build/lib/libev.a" -o simple-obfs -fstack-protector -static -lws2_32 -s
|
||||
exit $?
|
||||
Reference in New Issue
Block a user