summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xbuild.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/build.sh b/build.sh
index 9545caeeb..fa8cee497 100755
--- a/build.sh
+++ b/build.sh
@@ -12,7 +12,7 @@ if [[ "${CMD}" == "defaule" ]]; then
make -j3
make install
elif [[ "${CMD}" == "static" ]]; then
- ./configure --disable-64bit --enable-static --disable-lto --enable-packetver=20150000 --enable-debug=gdb
+ ./configure LIBS="-lmysqlclient -lssl -lcrypto -pthread -lm -lz" --disable-64bit --enable-static --disable-lto --enable-packetver=20150000 --enable-debug=gdb
make -j3
elif [[ "${CMD}" == "static64" ]]; then
./configure --enable-static --disable-lto --enable-packetver=20150000 --enable-debug=gdb