aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorBenedikt Tutzer <e1225461@student.tuwien.ac.at>2019-04-03 13:21:40 +0200
committerBenedikt Tutzer <e1225461@student.tuwien.ac.at>2019-04-03 13:21:40 +0200
commitfd7fb1377d4d30d692c78eb55173198339fea17d (patch)
tree3bbcf7ddcbe3868401d0a83665a253e5058fb052 /Makefile
parentbbfb43006d2a7d67d06ee151a1b8ad05ec5b1750 (diff)
downloadyosys-fd7fb1377d4d30d692c78eb55173198339fea17d.tar.gz
yosys-fd7fb1377d4d30d692c78eb55173198339fea17d.tar.bz2
yosys-fd7fb1377d4d30d692c78eb55173198339fea17d.zip
Added cross-platform support for plugin-paths
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 6f7448843..618e4b603 100644
--- a/Makefile
+++ b/Makefile
@@ -270,9 +270,9 @@ endif
ifeq ($(ENABLE_PYOSYS),1)
ifeq ($(PYTHON_MAJOR_VERSION),3)
- LDLIBS += -lpython$(PYTHON_VERSION)m -lboost_python-py$(subst .,,$(PYTHON_VERSION)) -lboost_system
+ LDLIBS += -lpython$(PYTHON_VERSION)m -lboost_python-py$(subst .,,$(PYTHON_VERSION)) -lboost_system -lstdc++fs
else
- LDLIBS += -lpython$(PYTHON_VERSION) -lboost_python-py$(subst .,,$(PYTHON_VERSION)) -lboost_system
+ LDLIBS += -lpython$(PYTHON_VERSION) -lboost_python-py$(subst .,,$(PYTHON_VERSION)) -lboost_system -lstdc++fs
endif
CXXFLAGS += -I/usr/include/python$(PYTHON_VERSION) -D WITH_PYTHON
PY_WRAPPER_FILE = kernel/python_wrappers