summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-11-13 17:35:00 +0300
committerAndrei Karas <akaras@inbox.ru>2014-11-15 19:15:08 +0300
commit66d9393aa42d5d985179d5a0398c7181d2aa050b (patch)
tree7d000ed955a80052f34271f41dba8915f8a2552e
parente569c698fff326ffa06ae9936b831edb0f56921f (diff)
downloadhercules-66d9393aa42d5d985179d5a0398c7181d2aa050b.tar.gz
hercules-66d9393aa42d5d985179d5a0398c7181d2aa050b.tar.bz2
hercules-66d9393aa42d5d985179d5a0398c7181d2aa050b.tar.xz
hercules-66d9393aa42d5d985179d5a0398c7181d2aa050b.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