summaryrefslogtreecommitdiff
path: root/make/template
diff options
context:
space:
mode:
authordanieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7>2009-11-11 00:17:07 +0000
committerdanieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7>2009-11-11 00:17:07 +0000
commit19487dbebc520450e457472b97d9e7bcd5160c00 (patch)
tree5ba36439139db77ff11c549228a3dbf69727e9cc /make/template
parent316167b91713739d784cc4c640275ebe2a9f054a (diff)
Allow static build of inspircd without module support
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12083 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'make/template')
-rw-r--r--make/template/main.mk6
1 files changed, 5 insertions, 1 deletions
diff --git a/make/template/main.mk b/make/template/main.mk
index 666104d1b..c06e92fea 100644
--- a/make/template/main.mk
+++ b/make/template/main.mk
@@ -74,7 +74,11 @@ CXXFLAGS += -Iinclude
RUNCC = perl $(SOURCEPATH)/make/run-cc.pl $(CC)
@ENDIF
-@DO_EXPORT RUNCC CXXFLAGS CC LDLIBS PICLDFLAGS VERBOSE SOCKETENGINE CORELDFLAGS
+@IFDEF PURE_STATIC
+ CXXFLAGS += -DPURE_STATIC
+@ENDIF
+
+@DO_EXPORT RUNCC CXXFLAGS CC LDLIBS PICLDFLAGS VERBOSE SOCKETENGINE CORELDFLAGS PURE_STATIC
@DO_EXPORT BASE CONPATH MODPATH BINPATH SOURCEPATH BUILDPATH
# Default target