diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2016-11-28 14:28:51 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-11-28 14:28:51 +0000 |
commit | 70fa00413bb62b64c6c178f026c1bffbc23ceddb (patch) | |
tree | c32a4be20ae74eff40112647983f977717ef4114 | |
parent | adf548b9083cd0b2aa815a445a115fb83603839f (diff) | |
parent | 32a6a19cd235f67f4ba702e85c10469b35a9915b (diff) | |
download | rspamd-70fa00413bb62b64c6c178f026c1bffbc23ceddb.tar.gz rspamd-70fa00413bb62b64c6c178f026c1bffbc23ceddb.zip |
Merge pull request #1195 from cryptomilk/master-fixes
acism: Add missing glib dependency
-rw-r--r-- | contrib/aho-corasick/CMakeLists.txt | 2 | ||||
-rw-r--r-- | contrib/aho-corasick/acism.c | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/contrib/aho-corasick/CMakeLists.txt b/contrib/aho-corasick/CMakeLists.txt index 4b1a75773..ea300253f 100644 --- a/contrib/aho-corasick/CMakeLists.txt +++ b/contrib/aho-corasick/CMakeLists.txt @@ -6,9 +6,11 @@ endif () IF(NOT GPL_RSPAMD_BINARY) ADD_LIBRARY(rspamd-actrie SHARED ${AHOCORASICSRC}) + target_link_libraries(rspamd-actrie glib-2.0) INSTALL(TARGETS rspamd-actrie LIBRARY DESTINATION ${RSPAMD_LIBDIR}) ELSE() ADD_LIBRARY(rspamd-actrie STATIC ${AHOCORASICSRC}) + target_link_libraries(rspamd-actrie glib-2.0) ENDIF() diff --git a/contrib/aho-corasick/acism.c b/contrib/aho-corasick/acism.c index 111704805..a0b478ad8 100644 --- a/contrib/aho-corasick/acism.c +++ b/contrib/aho-corasick/acism.c @@ -17,6 +17,8 @@ ** Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ +#include <glib.h> + #include "_acism.h" #include "unix-std.h" |