]> source.dussan.org Git - rspamd.git/commitdiff
[Minor] Fix lua-fun installation path
authorVsevolod Stakhov <vsevolod@highsecure.ru>
Thu, 18 May 2017 15:58:50 +0000 (16:58 +0100)
committerVsevolod Stakhov <vsevolod@highsecure.ru>
Thu, 18 May 2017 15:58:50 +0000 (16:58 +0100)
CMakeLists.txt

index 26e49e0e173349a72f68f66005af18f8a2282920..7909613265504873de5b5b39ebf0998fa8880277 100644 (file)
@@ -1326,8 +1326,6 @@ FOREACH(LUA_PLUGIN ${LUA_PLUGINS})
        INSTALL(FILES "src/plugins/lua/${LUA_PLUGIN}" DESTINATION ${PLUGINSDIR}/lua/${_rp})
 ENDFOREACH(LUA_PLUGIN)
 
-# Install lua fun library
-INSTALL(FILES "contrib/lua-fun/fun.lua" DESTINATION ${LUALIBDIR}/lua)
 
 # Install TLD list
 INSTALL(FILES "contrib/publicsuffix/effective_tld_names.dat" DESTINATION
@@ -1351,6 +1349,9 @@ FOREACH(LUA_LIB ${LUA_LIBS})
        INSTALL(FILES "lualib/${LUA_LIB}" DESTINATION ${LUALIBDIR}/${_rp})
 ENDFOREACH(LUA_LIB)
 
+# Install lua fun library
+INSTALL(FILES "contrib/lua-fun/fun.lua" DESTINATION ${LUALIBDIR})
+
 # systemd unit
 IF(CMAKE_SYSTEM_NAME STREQUAL "Linux" AND WANT_SYSTEMD_UNITS MATCHES "ON")
        INSTALL(FILES "rspamd.service" DESTINATION ${SYSTEMDDIR})