From 3224f301a4fcd6f107ac72c23a7733f17dcdd3eb Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Thu, 13 Nov 2014 17:35:00 +0300 Subject: fix static builds. --- build.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.3-70-g09d2