diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2019-10-22 11:21:34 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2019-10-22 11:21:34 +0100 |
commit | 5c8a82ded139e2490daa83298d3e1f29c6e7b422 (patch) | |
tree | 39e32b400b7df260cdd8ceb0125827bb20283548 /src/CMakeLists.txt | |
parent | d524e67086f2802dd019adbfff3cc4ebd5eacf5d (diff) | |
download | rspamd-5c8a82ded139e2490daa83298d3e1f29c6e7b422.tar.gz rspamd-5c8a82ded139e2490daa83298d3e1f29c6e7b422.zip |
[Minor] Fix clang plugin functions on OSX
Diffstat (limited to 'src/CMakeLists.txt')
-rw-r--r-- | src/CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 797ae2074..1c03b1239 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -63,7 +63,7 @@ ENDMACRO(AddModules MLIST WLIST) # Rspamd core components IF (ENABLE_CLANG_PLUGIN MATCHES "ON") SET(CMAKE_C_FLAGS - "${CMAKE_C_FLAGS} -Xclang -load -Xclang ${CMAKE_CURRENT_BINARY_DIR}/../clang-plugin/librspamd-clang.so -Xclang -add-plugin -Xclang rspamd-ast") + "${CMAKE_C_FLAGS} -Xclang -load -Xclang ${CMAKE_CURRENT_BINARY_DIR}/../clang-plugin/librspamd-clang${CMAKE_SHARED_LIBRARY_SUFFIX} -Xclang -add-plugin -Xclang rspamd-ast") IF(CLANG_EXTRA_PLUGINS_LIBS) FOREACH(_lib ${CLANG_EXTRA_PLUGINS_LIBS}) SET(CMAKE_C_FLAGS |