Skip to content

Commit

Permalink
in_http: fix static linking and start server for testing purposes
Browse files Browse the repository at this point in the history
Signed-off-by: Eduardo Silva <eduardo@treasure-data.com>
  • Loading branch information
edsiper committed Jun 20, 2015
1 parent 0c24400 commit 29abd99
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/in_http/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ set(src

FLB_PLUGIN(in_http "${src}" "")
target_link_libraries(flb-plugin-in_http
${CMAKE_BINARY_DIR}/library/libmonkey.a
monkey-core-static
${CMAKE_DL_LIBS})

# Configuration files
Expand Down
2 changes: 2 additions & 0 deletions plugins/in_http/in_http.c
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,8 @@ int in_http_init(struct flb_config *config)
/* Callback invoked after setup but before to join the main loop */
int in_http_pre_run(void *in_context, struct flb_config *config)
{
/* EXPERIMENTAL!!! */
mk_server_loop();
return 0;
}

Expand Down

0 comments on commit 29abd99

Please sign in to comment.