summaryrefslogtreecommitdiffstats
path: root/libdimension-python
diff options
context:
space:
mode:
Diffstat (limited to 'libdimension-python')
-rw-r--r--libdimension-python/Makefile.am4
1 files changed, 4 insertions, 0 deletions
diff --git a/libdimension-python/Makefile.am b/libdimension-python/Makefile.am
index 33e93a5..6e76591 100644
--- a/libdimension-python/Makefile.am
+++ b/libdimension-python/Makefile.am
@@ -26,7 +26,11 @@ AM_CFLAGS = $(Python_CFLAGS)
AM_LDFLAGS = $(Python_LDFLAGS)
wrapper.c: wrapper.pyx wrapper.pxd
+if DEBUG
cython --line-directives wrapper.pyx
+else
+ cython wrapper.pyx
+endif
pkgpyexec_LTLIBRARIES = wrapper.la
wrapper_la_SOURCES = wrapper.c \