]> 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:03 +0000 (13:08 +0000)
CMakeLists.txt

index c9d1f7b6df53c88cc9063d492b018d72d975c3ef..2e19f43ac4875c6e13c0920b8a1f99c7d2c96869 100644 (file)
@@ -660,6 +660,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")