summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-11-13 17:35:00 +0300
committerAndrei Karas <akaras@inbox.ru>2015-07-05 02:02:38 +0300
commit0a3fbc8bc8f959477582b309d2060f91dcda6149 (patch)
tree5c464b848d3dc0fe2d817cd65c13ac71eb3e68ac
parentf99475750d3844d8b04f88843765b49fbcc3ce9e (diff)
downloadhercules-0a3fbc8bc8f959477582b309d2060f91dcda6149.tar.gz
hercules-0a3fbc8bc8f959477582b309d2060f91dcda6149.tar.bz2
hercules-0a3fbc8bc8f959477582b309d2060f91dcda6149.tar.xz
hercules-0a3fbc8bc8f959477582b309d2060f91dcda6149.zip
fix static builds.
-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