FIRMWARE_DIR and DECODERS_DIR as defined in config.h need some magic applied
to resolve the $prefix/$data variable to an absolute path.
libsigrokdecode_la_SOURCES = decode.c
-libsigrokdecode_la_CPPFLAGS = $(CPPFLAGS_PYTHON) \
- -DDECODERS_DIR='"$(DECODERS_DIR)"'
+libsigrokdecode_la_CPPFLAGS = $(CPPFLAGS_PYTHON)
libsigrokdecode_la_LDFLAGS = $(SIGROKDECODE_LT_LDFLAGS) \
$(LDFLAGS_PYTHON)
#include <stdio.h>
#include <string.h>
#include <dirent.h>
+#include <config.h>
/* Re-define some string functions for Python >= 3.0. */
#if PY_VERSION_HEX >= 0x03000000