added some checks if python is enabled to make sure everything compiles if python is disabled in the makefile

This commit is contained in:
Benedikt Tutzer
2018-08-20 16:04:43 +02:00
parent d87c7df27f
commit 95d65971f3
5 changed files with 14 additions and 9 deletions
+2
View File
@@ -66,7 +66,9 @@
#include <stdio.h>
#include <limits.h>
#ifdef WITH_PYTHON
#include <Python.h>
#endif
#ifndef _YOSYS_
# error It looks like you are trying to build Yosys without the config defines set. \