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