summaryrefslogtreecommitdiffstats
path: root/config.h.in
diff options
context:
space:
mode:
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>