mirror of
http://git.haproxy.org/git/haproxy.git/
synced 2025-04-11 03:31:36 +00:00
CONTRIB: mod_defender: make the code build with the embedded includes
From now on the code only needs its embedded dependencies and does not depend any more on external haproxy dependencies. It can now be built as a standalone project.
This commit is contained in:
parent
fe5d501c4d
commit
131799fc97
@ -28,7 +28,7 @@ EVENT_INC := /usr/include
|
||||
endif
|
||||
|
||||
CFLAGS += -g -Wall -pthread
|
||||
INCS += -I../../include -I$(MOD_DEFENDER_SRC) -I$(APACHE2_INC) -I$(APR_INC) -I$(EVENT_INC)
|
||||
INCS += -Iinclude -I$(MOD_DEFENDER_SRC) -I$(APACHE2_INC) -I$(APR_INC) -I$(EVENT_INC)
|
||||
LIBS += -lpthread $(EVENT_LIB) -levent_pthreads -lapr-1 -laprutil-1 -lstdc++ -lm
|
||||
|
||||
CXXFLAGS = -g -std=gnu++11
|
||||
|
@ -18,10 +18,7 @@
|
||||
#include <stdio.h>
|
||||
#include <stdarg.h>
|
||||
|
||||
#include <haproxy/api.h>
|
||||
#include <haproxy/chunk.h>
|
||||
#include <haproxy/spoe.h>
|
||||
#include <haproxy/time.h>
|
||||
#include <haproxy/tools.h>
|
||||
|
||||
#include <http_core.h>
|
||||
|
@ -31,7 +31,6 @@
|
||||
#include <event2/event_struct.h>
|
||||
#include <event2/thread.h>
|
||||
|
||||
#include <haproxy/chunk.h>
|
||||
#include <haproxy/list.h>
|
||||
#include <haproxy/spoe.h>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user