From: Michael Tremer Date: Wed, 7 Sep 2011 11:43:51 +0000 (+0000) Subject: python-lzma: Fix build on other architectures. X-Git-Tag: v2.9-core54~13^2~102 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=1a33e89eb331d6eeeccfbc3d1d4f34acd0563127;p=people%2Fms%2Fipfire-2.x.git python-lzma: Fix build on other architectures. --- diff --git a/lfs/python-lzma b/lfs/python-lzma index f2f6aabe0b..0d2fcc412c 100644 --- a/lfs/python-lzma +++ b/lfs/python-lzma @@ -80,8 +80,8 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects)) cd $(DIR_APP) && python setup.py install # unzip the egg because it won't work without cd /usr/lib/python2.7/site-packages && \ - unzip pyliblzma-$(VER)-py2.7-linux-i686.egg - rm -rf /usr/lib/python2.7/site-packages/pyliblzma-$(VER)-py2.7-linux-i686.egg + unzip pyliblzma-$(VER)-py2.7-linux-$(shell uname -m).egg + rm -rf /usr/lib/python2.7/site-packages/pyliblzma-$(VER)-py2.7-linux-$(shell uname -m).egg rm -rf /usr/lib/python2.7/site-packages/EGG-INFO @rm -rf $(DIR_APP) @$(POSTBUILD)