From: kaf24@firebug.cl.cam.ac.uk Date: Fri, 21 Apr 2006 08:14:47 +0000 (+0100) Subject: Fix python installation on sles10. Install prefix is being X-Git-Tag: RELEASE-3.0.2-3~55 X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=c414ad79eb5c7aa365aac9b977176eb446056085;p=people%2Fvhanquez%2Fxen.git Fix python installation on sles10. Install prefix is being passed along for some reason, so we explicitly redefine it to nothing. Signed-off-by: Ryan Grimm --- diff --git a/tools/pygrub/Makefile b/tools/pygrub/Makefile index fbe27a9bf..5b6dab74b 100644 --- a/tools/pygrub/Makefile +++ b/tools/pygrub/Makefile @@ -8,7 +8,7 @@ build: ifndef XEN_PYTHON_NATIVE_INSTALL install: all - CFLAGS="$(CFLAGS)" python setup.py install --home="$(DESTDIR)/usr" + CFLAGS="$(CFLAGS)" python setup.py install --home="$(DESTDIR)/usr" --prefix="" else install: all CFLAGS="$(CFLAGS)" python setup.py install --root="$(DESTDIR)" diff --git a/tools/python/Makefile b/tools/python/Makefile index 87d08a22e..c8df998fc 100644 --- a/tools/python/Makefile +++ b/tools/python/Makefile @@ -9,7 +9,7 @@ build: ifndef XEN_PYTHON_NATIVE_INSTALL install: all - CFLAGS="$(CFLAGS)" python setup.py install --home="$(DESTDIR)/usr" --force + CFLAGS="$(CFLAGS)" python setup.py install --home="$(DESTDIR)/usr" --prefix="" --force else install: all CFLAGS="$(CFLAGS)" python setup.py install --root="$(DESTDIR)" --force