]> source.dussan.org Git - rspamd.git/commitdiff
[Minor] Add missing flag
authorVsevolod Stakhov <vsevolod@highsecure.ru>
Sat, 26 Nov 2016 13:08:03 +0000 (13:08 +0000)
committerVsevolod Stakhov <vsevolod@highsecure.ru>
Sat, 26 Nov 2016 13:08:36 +0000 (13:08 +0000)
CMakeLists.txt

index f20f632f7bb7768cbb676251bbe6f4374b9a79db..de13b2917d660ddd44a9f0fcdf218312fe376000 100644 (file)
@@ -655,6 +655,7 @@ ProcessPackage(GMODULE2 LIBRARY gmodule-2.0 INCLUDE glib.h
 IF(GLIB_ROOT_DIR)
        LIST(APPEND RSPAMD_REQUIRED_LIBRARIES "-lpthread")
        LIST(APPEND RSPAMD_REQUIRED_LIBRARIES "-lffi")
+       SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -pthread")
 ENDIF()
 
 IF(ENABLE_PCRE2 MATCHES "ON")