mirror of
https://github.com/haproxy/haproxy.git
synced 2026-04-09 02:46:12 -04: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
2 changed files with 3 additions and 1 deletions
|
|
@ -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 a new issue