mirror of
https://gitlab.com/openconnect/ocserv.git
synced 2026-02-10 16:57:00 +08:00
Allow compilation without http-parser library
This commit is contained in:
@@ -6,6 +6,10 @@ if LOCAL_TALLOC
|
||||
AM_CPPFLAGS += -I$(srcdir)/../ccan/talloc
|
||||
endif
|
||||
|
||||
if LOCAL_HTTP_PARSER
|
||||
AM_CPPFLAGS += -I$(srcdir)/../http-parser/
|
||||
endif
|
||||
|
||||
# Files common to ocserv and occtl.
|
||||
libcommon_a_SOURCES=common.c common.h system.c system.h \
|
||||
cloexec.c cloexec.h
|
||||
|
||||
@@ -7,6 +7,10 @@ if LOCAL_TALLOC
|
||||
AM_CPPFLAGS += -I$(srcdir)/../ccan/talloc
|
||||
endif
|
||||
|
||||
if LOCAL_HTTP_PARSER
|
||||
AM_CPPFLAGS += -I$(srcdir)/../http-parser/
|
||||
endif
|
||||
|
||||
EXTRA_DIST = args.def
|
||||
|
||||
bin_PROGRAMS = occtl
|
||||
|
||||
Reference in New Issue
Block a user