Makefile: $(PWD) doesn't always work, in particular the buildslaves don't
update environment variables like $(PWD) when the launch commands.
This commit is contained in:
parent
56604200a7
commit
190e3ab46d
2
Makefile
2
Makefile
|
@ -14,7 +14,7 @@ build-pyfec:
|
||||||
build-Crypto:
|
build-Crypto:
|
||||||
cd src/Crypto && $(PYTHON) ./setup.py install --prefix=$(BASE)/instdir
|
cd src/Crypto && $(PYTHON) ./setup.py install --prefix=$(BASE)/instdir
|
||||||
|
|
||||||
INSTDIR=$(PWD)/instdir/lib/python$(shell $(PYTHON) -c 'import sys;print sys.version_info[0]').$(shell $(PYTHON) -c 'import sys;print sys.version_info[1]')/site-packages
|
INSTDIR=$(BASE)/instdir/lib/python$(shell $(PYTHON) -c 'import sys;print sys.version_info[0]').$(shell $(PYTHON) -c 'import sys;print sys.version_info[1]')/site-packages
|
||||||
|
|
||||||
ifneq ($(PYTHONPATH),)
|
ifneq ($(PYTHONPATH),)
|
||||||
PP=PYTHONPATH=${PYTHONPATH}:$(INSTDIR)
|
PP=PYTHONPATH=${PYTHONPATH}:$(INSTDIR)
|
||||||
|
|
Loading…
Reference in New Issue