diff --git a/programming/build/llvm/actions.py b/programming/build/llvm/actions.py index 63e7167d7a..36ecd8c4c4 100644 --- a/programming/build/llvm/actions.py +++ b/programming/build/llvm/actions.py @@ -82,14 +82,14 @@ def install(): shelltools.cd("build") cmaketools.rawInstall("DESTDIR=%s" % get.installDIR()) - pisitools.remove("/usr/lib/python2.7/site-packages/six.py") - + if get.buildTYPE() == "emul32": pisitools.domove("/emul32/lib32/", "/usr/") pisitools.insinto("/usr/include/llvm/Config/","%s/emul32/include/llvm/Config/llvm-config.h" % get.installDIR(),"llvm-config-32.h") pisitools.insinto("/usr/bin/","%s/emul32/bin/llvm-config" % get.installDIR(),"llvm-config-32") pisitools.removeDir("/emul32") + pisitools.remove("/usr/lib/python2.7/site-packages/six.py") shelltools.cd ("..")