mirror of
https://gitlab.com/openconnect/ocserv.git
synced 2026-02-10 00:37:00 +08:00
don't export LIBTALLOC_CFLAGS when using the included
This commit is contained in:
@@ -108,10 +108,7 @@ with_local_talloc=no,
|
||||
)
|
||||
fi
|
||||
|
||||
if test "$with_local_talloc" != no;then
|
||||
FLAGS='-Iccan/talloc/ -Iccan/typedef_cb/ -Iccan/compiler/'
|
||||
AC_SUBST([LIBTALLOC_CFLAGS], [$FLAGS])
|
||||
else
|
||||
if test "$with_local_talloc" = no;then
|
||||
AC_DEFINE(HAVE_LIBTALLOC, 1, [have libtalloc])
|
||||
fi
|
||||
|
||||
|
||||
@@ -11,6 +11,10 @@ AM_CPPFLAGS = -I$(srcdir)/../gl/ -I$(builddir)/../gl/ \
|
||||
BUILT_SOURCES = ocserv-args.c ocserv-args.h ipc.pb-c.c ipc.pb-c.h \
|
||||
http-heads.h kkdcp_asn1_tab.c
|
||||
|
||||
if LOCAL_TALLOC
|
||||
AM_CPPFLAGS += -I$(top_srcdir)/src/ccan/talloc
|
||||
endif
|
||||
|
||||
#AM_CPPFLAGS += -DDEBUG_LEAKS
|
||||
|
||||
include common.mk
|
||||
|
||||
Reference in New Issue
Block a user