aboutsummaryrefslogtreecommitdiffstats
path: root/src/lua
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@rambler-co.ru>2012-06-05 19:22:57 +0400
committerVsevolod Stakhov <vsevolod@rambler-co.ru>2012-06-05 19:22:57 +0400
commit20c329815f2855d7c1356c3bbe26bddca20ac281 (patch)
tree9eede9a52174f7ab6dc4911cd7f86afffb37156f /src/lua
parent35cb2b6e2f17a518d0c940985e6e19b41fdedf19 (diff)
downloadrspamd-20c329815f2855d7c1356c3bbe26bddca20ac281.tar.gz
rspamd-20c329815f2855d7c1356c3bbe26bddca20ac281.zip
Fix static build.
As there are too many changes from 0.4.7 mark this version as 0.5.0.
Diffstat (limited to 'src/lua')
-rw-r--r--src/lua/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lua/CMakeLists.txt b/src/lua/CMakeLists.txt
index bdba01c27..a37731973 100644
--- a/src/lua/CMakeLists.txt
+++ b/src/lua/CMakeLists.txt
@@ -12,7 +12,7 @@ SET(LUASRC lua_common.c
lua_redis.c
lua_upstream.c)
-ADD_LIBRARY(rspamd-lua SHARED ${LUASRC})
+ADD_LIBRARY(rspamd-lua ${LINK_TYPE} ${LUASRC})
TARGET_LINK_LIBRARIES(rspamd-lua ${LUALIB})
SET_TARGET_PROPERTIES(rspamd-lua PROPERTIES COMPILE_FLAGS "-DRSPAMD_LIB")
INSTALL(TARGETS rspamd-lua