diff options
author | Miodrag Milanović <mmicko@gmail.com> | 2020-09-28 12:54:38 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-09-28 12:54:38 +0200 |
commit | 08eb0821c9c62ef21e054b6a53a980019bbfa6ca (patch) | |
tree | f9d3171747ad2d0fbab1f1c352d182f7b2fd33b7 | |
parent | bddd56d0c6f84890af4f744c58715dfb793fcea4 (diff) | |
parent | 9266d20afc7f3571ffee5edc27afe19dc54bb356 (diff) | |
download | yosys-08eb0821c9c62ef21e054b6a53a980019bbfa6ca.tar.gz yosys-08eb0821c9c62ef21e054b6a53a980019bbfa6ca.tar.bz2 yosys-08eb0821c9c62ef21e054b6a53a980019bbfa6ca.zip |
Merge pull request #2386 from btut/fix/pyinstallpath
Fixed python installation path
-rw-r--r-- | Makefile | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -171,8 +171,7 @@ else PYTHON_CONFIG := $(PYTHON_EXECUTABLE)-config endif -PYTHON_PREFIX := $(shell $(PYTHON_CONFIG) --prefix) -PYTHON_DESTDIR := $(PYTHON_PREFIX)/lib/python$(PYTHON_VERSION)/site-packages +PYTHON_DESTDIR := $(shell $(PYTHON_EXECUTABLE) -c "import site; print(site.getsitepackages()[-1]);") # Reload Makefile.conf to override python specific variables if defined ifneq ($(wildcard Makefile.conf),) |