if built with python+debug enable coro tracing

This commit is contained in:
Joris Vink 2019-09-16 20:36:23 +02:00
parent c1653a5254
commit b107485ea4

View File

@ -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)