added python path change to ns3 and simplified substitution, which is not version dependent
This commit is contained in:
parent
4b028661ab
commit
cd747515ea
2 changed files with 2 additions and 10 deletions
|
@ -14,11 +14,7 @@ if WANT_DOCS
|
|||
DOCS = doc
|
||||
endif
|
||||
|
||||
if PYTHON3
|
||||
PYTHONLIBDIR=$(shell echo $(pythondir) | sed -e 's/site-packages/dist-packages/')
|
||||
else
|
||||
PYTHONLIBDIR=$(pythondir)
|
||||
endif
|
||||
PYTHONLIBDIR=$(subst site-packages,dist-packages,$(pythondir))
|
||||
|
||||
SUBDIRS = proto $(DOCS)
|
||||
|
||||
|
|
|
@ -9,11 +9,7 @@
|
|||
|
||||
if WANT_PYTHON
|
||||
|
||||
if PYTHON3
|
||||
PYTHONLIBDIR=$(libdir)/python3/dist-packages
|
||||
else
|
||||
PYTHONLIBDIR=$(pythondir)
|
||||
endif
|
||||
PYTHONLIBDIR=$(subst site-packages,dist-packages,$(pythondir))
|
||||
|
||||
SETUPPY = setup.py
|
||||
SETUPPYFLAGS = -v
|
||||
|
|
Loading…
Reference in a new issue