aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 09cf18497..ca17c4476 100644
--- a/Makefile
+++ b/Makefile
@@ -19,7 +19,7 @@ ENABLE_PROTOBUF := 0
# python wrappers
ENABLE_PYTHON := 1
-PYTHON_VERSION := 3.5
+PYTHON_VERSION := 3.6
# other configuration flags
ENABLE_GPROF := 0
@@ -233,8 +233,8 @@ TARGETS += libyosys.so
endif
ifeq ($(ENABLE_PYTHON),1)
-LDLIBS += -lpython$(PYTHON_VERSION)m -lboost_python-py$(subst .,,$(PYTHON_VERSION)) -lboost_system
-CXXFLAGS += -I/usr/include/python$(PYTHON_VERSION) -fPIC -D WITH_PYTHON
+LDLIBS += -lpython$(PYTHON_VERSION)m -lboost_python-py$(subst .,,$(PYTHON_VERSION))
+CXXFLAGS += -I/usr/include/python$(PYTHON_VERSION) -D WITH_PYTHON
OBJS += kernel/python_wrappers.o
endif