diff --git a/src/modules/app_python/Makefile b/src/modules/app_python/Makefile index d1854c12e48..02f5fff664e 100644 --- a/src/modules/app_python/Makefile +++ b/src/modules/app_python/Makefile @@ -22,6 +22,8 @@ ifeq ($(OS), freebsd) LIBS+=-pthread endif +# python2 https://www.python.org/dev/peps/pep-3123/ +DEFS+=-fno-strict-aliasing DEFS+=-I${PYTHON_INCDIR} DEFS+=-DKAMAILIO_MOD_INTERFACE