summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-11-13 17:36:11 +0300
committerAndrei Karas <akaras@inbox.ru>2014-11-13 17:36:11 +0300
commit94cdf41d9f077de4dbccb8c155d388aae25e2f93 (patch)
treed26da437be5c9726f1d127ae601c983de01c817f
parentd4a9e360994135b2dc490a472feab6bd5da363af (diff)
downloadevol-tools-94cdf41d9f077de4dbccb8c155d388aae25e2f93.tar.gz
evol-tools-94cdf41d9f077de4dbccb8c155d388aae25e2f93.tar.bz2
evol-tools-94cdf41d9f077de4dbccb8c155d388aae25e2f93.tar.xz
evol-tools-94cdf41d9f077de4dbccb8c155d388aae25e2f93.zip
fix static server build script.
-rwxr-xr-xbuild/server-bin.sh13
1 files changed, 9 insertions, 4 deletions
diff --git a/build/server-bin.sh b/build/server-bin.sh
index 160b7e3..923d9cb 100755
--- a/build/server-bin.sh
+++ b/build/server-bin.sh
@@ -5,17 +5,22 @@ make clean
./build.sh static
if [[ $? == 0 ]]; then
- cp -f char-server ../server-bin
- cp -f login-server ../server-bin
- cp -f map-server ../server-bin
+ cp -f char-server ../server-local
+ cp -f login-server ../server-local
+ cp -f map-server ../server-local
else
echo Build failed
exit 1
fi
cd src/evol
+mkdir build
+autoreconf -i
+cd build
make clean
-./build.sh
+../configure
+make -j3
+cd ..
if [[ $? == 0 ]]; then
mkdir ../../../server-local/plugins