Merge pull request #292 from coreemu/bug/290-fix-default-pythonpath

fix #290 use pythondir var as base for setting PYTHONLIBDIR
This commit is contained in:
bharnden 2019-09-27 14:25:19 -07:00 committed by GitHub
commit 6886746711
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 16 additions and 15 deletions

View file

@ -14,11 +14,7 @@ if WANT_DOCS
DOCS = doc
endif
if PYTHON3
PYTHONLIBDIR=$(libdir)/python3/dist-packages
else
PYTHONLIBDIR=$(pythondir)
endif
PYTHONLIBDIR=$(subst site-packages,dist-packages,$(pythondir))
SUBDIRS = proto $(DOCS)