mirror of
http://git.haproxy.org/git/haproxy.git/
synced 2024-12-23 21:22:17 +00:00
BUG/MINOR: contrib/mod_security: fix build on FreeBSD
Fix linker flags settings since 3rd parties libraries are not in /usr/lib Plus libfuzzy needs to be added. undef LIST_HEAD from event2 which conflicts with haproxy's
This commit is contained in:
parent
b418c1228c
commit
8abbd3daa7
@ -26,7 +26,7 @@ LIBXML_INC := /usr/include/libxml2
|
||||
endif
|
||||
|
||||
CFLAGS = -g -Wall -pthread
|
||||
LDFLAGS = -lpthread -levent -levent_pthreads -lcurl -lapr-1 -laprutil-1 -lxml2 -lpcre -lyajl
|
||||
LDFLAGS += -lpthread -levent -levent_pthreads -lcurl -lapr-1 -laprutil-1 -lxml2 -lpcre -lyajl
|
||||
INCS += -I../../include -I../../ebtree -I$(MODSEC_INC) -I$(APACHE2_INC) -I$(APR_INC) -I$(LIBXML_INC)
|
||||
LIBS =
|
||||
|
||||
|
@ -20,6 +20,8 @@
|
||||
#ifndef __SPOA_H__
|
||||
#define __SPOA_H__
|
||||
|
||||
#include <sys/queue.h>
|
||||
|
||||
#include <event2/util.h>
|
||||
#include <event2/event.h>
|
||||
#include <event2/event_struct.h>
|
||||
|
Loading…
Reference in New Issue
Block a user