removed unused library and already present compiler flag

This commit is contained in:
Benedikt Tutzer 2018-08-01 08:04:08 +02:00 committed by Benedikt Tutzer
parent 0371519c39
commit b57dafce68
1 changed files with 3 additions and 3 deletions

View File

@ -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