commit b107485ea4fa39304f2a0cb245cf443c800f1bbe
parent c1653a525489ae84ca962f7b512506b53acac43a
Author: Joris Vink <joris@coders.se>
Date: Mon, 16 Sep 2019 20:36:23 +0200
if built with python+debug enable coro tracing
Diffstat:
1 file changed, 3 insertions(+), 0 deletions(-)
diff --git a/Makefile b/Makefile
@@ -96,6 +96,9 @@ ifneq ("$(JSONRPC)", "")
endif
ifneq ("$(PYTHON)", "")
+ ifneq ("$(DEBUG)", "")
+ CFLAGS+=-DPYTHON_CORO_TRACE
+ endif
S_SRC+=src/python.c
KORE_PYTHON_LIB?=$(shell python3-config --ldflags)
KORE_PYTHON_INC?=$(shell python3-config --includes)