summaryrefslogtreecommitdiff
path: root/src/char/Makefile.in
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/char/Makefile.in
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/char/Makefile.in')
-rw-r--r--src/char/Makefile.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/char/Makefile.in b/src/char/Makefile.in
index 59dc56076..ecb2f8741 100644
--- a/src/char/Makefile.in
+++ b/src/char/Makefile.in
@@ -91,7 +91,7 @@ char-server: ../../char-server@EXEEXT@
../../char-server@EXEEXT@: $(CHAR_SERVER_SQL_DEPENDS) Makefile
@echo " LD $(notdir $@)"
- @$(CC) @LDFLAGS@ -o ../../char-server@EXEEXT@ $(CHAR_OBJ) $(COMMON_D)/obj_sql/common_sql.a \
+ @$(CC) @STATIC@ @LDFLAGS@ -o ../../char-server@EXEEXT@ $(CHAR_OBJ) $(COMMON_D)/obj_sql/common_sql.a \
$(COMMON_D)/obj_all/common.a $(MT19937AR_OBJ) $(LIBCONFIG_OBJ) @LIBS@ @MYSQL_LIBS@
# char object files