summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-11-13 17:35:00 +0300
committerAndrei Karas <akaras@inbox.ru>2015-08-09 14:33:49 +0300
commit3224f301a4fcd6f107ac72c23a7733f17dcdd3eb (patch)
tree31956b984a61015bc7682c12d908947f5380afa5
parent5bb5808c96417275b6f491197bf15ff5e308fc53 (diff)
downloadhercules-3224f301a4fcd6f107ac72c23a7733f17dcdd3eb.tar.gz
hercules-3224f301a4fcd6f107ac72c23a7733f17dcdd3eb.tar.bz2
hercules-3224f301a4fcd6f107ac72c23a7733f17dcdd3eb.tar.xz
hercules-3224f301a4fcd6f107ac72c23a7733f17dcdd3eb.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