]> git.ipfire.org Git - ipfire-2.x.git/commitdiff
python-lzma: Fix build on other architectures.
authorMichael Tremer <michael.tremer@ipfire.org>
Wed, 7 Sep 2011 11:43:51 +0000 (11:43 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Wed, 7 Sep 2011 11:43:51 +0000 (11:43 +0000)
lfs/python-lzma

index f2f6aabe0b6db5a2401510a81aac9eca002fce37..0d2fcc412caddc18364d53473bedceb221f9426e 100644 (file)
@@ -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)