aboutsummaryrefslogtreecommitdiffstats
path: root/config.h.in
diff options
context:
space:
mode:
authorcebka@lenovo-laptop <cebka@lenovo-laptop>2010-02-19 18:13:54 +0300
committercebka@lenovo-laptop <cebka@lenovo-laptop>2010-02-19 18:13:54 +0300
commit72e6f43d545d8d430aaeb26e9ef250fb94d0f674 (patch)
treea75bf88dcbecb74e09a0a380c3a6ca7494617c6c /config.h.in
parent94edb9f04b2144be4a78556653451456738ba767 (diff)
downloadrspamd-72e6f43d545d8d430aaeb26e9ef250fb94d0f674.tar.gz
rspamd-72e6f43d545d8d430aaeb26e9ef250fb94d0f674.zip
* Add ability to build rspamd static
Diffstat (limited to 'config.h.in')
-rw-r--r--config.h.in5
1 files changed, 5 insertions, 0 deletions
diff --git a/config.h.in b/config.h.in
index 948a986c4..468e5d6d4 100644
--- a/config.h.in
+++ b/config.h.in
@@ -113,6 +113,8 @@
#cmakedefine HAVE_ASM_PAUSE 1
+#cmakedefine BUILD_STATIC 1
+
#define RVERSION "${RSPAMD_VERSION}"
#define RSPAMD_MASTER_SITE_URL "${RSPAMD_MASTER_SITE_URL}"
@@ -294,7 +296,10 @@
#include <signal.h>
#include <event.h>
#include <glib.h>
+
+#ifndef BUILD_STATIC
#include <gmodule.h>
+#endif
#ifndef NO_GMIME
#include <gmime/gmime.h>