summaryrefslogtreecommitdiff
path: root/src/login
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-09-13 16:33:27 +0300
committerAndrei Karas <akaras@inbox.ru>2014-10-23 21:52:03 +0300
commit1f5a9d02c6aa41ded7dfbc0e1b1d22504f0e83fb (patch)
tree2a2cea46c0fa8076be0c9f94c13f9f07edb0cbcf /src/login
parent3579235602638631f5d6e10e18567291d5de1350 (diff)
downloadhercules-1f5a9d02c6aa41ded7dfbc0e1b1d22504f0e83fb.tar.gz
hercules-1f5a9d02c6aa41ded7dfbc0e1b1d22504f0e83fb.tar.bz2
hercules-1f5a9d02c6aa41ded7dfbc0e1b1d22504f0e83fb.tar.xz
hercules-1f5a9d02c6aa41ded7dfbc0e1b1d22504f0e83fb.zip
In configure add option --enable-static
This option enable static build for server binaries and map cache. For plugins this option enable static linking with gcc.
Diffstat (limited to 'src/login')
-rw-r--r--src/login/Makefile.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/login/Makefile.in b/src/login/Makefile.in
index 7551eed5f..a4aec59cf 100644
--- a/src/login/Makefile.in
+++ b/src/login/Makefile.in
@@ -87,7 +87,7 @@ login-server: ../../login-server@EXEEXT@
../../login-server@EXEEXT@: $(LOGIN_SERVER_SQL_DEPENDS) Makefile
@echo " LD $(notdir $@)"
- @$(CC) @LDFLAGS@ -o ../../login-server@EXEEXT@ $(LOGIN_OBJ) $(COMMON_D)/obj_sql/common_sql.a \
+ @$(CC) @STATIC@ @LDFLAGS@ -o ../../login-server@EXEEXT@ $(LOGIN_OBJ) $(COMMON_D)/obj_sql/common_sql.a \
$(COMMON_D)/obj_all/common.a $(MT19937AR_OBJ) $(LIBCONFIG_OBJ) @LIBS@ @MYSQL_LIBS@
# login object files