diff --git a/programming/build/llvm/actions.py b/programming/build/llvm/actions.py
index 1f0d908402..b14646b3cd 100755
--- a/programming/build/llvm/actions.py
+++ b/programming/build/llvm/actions.py
@@ -9,7 +9,7 @@ from pisi.actionsapi import shelltools
from pisi.actionsapi import cmaketools
from pisi.actionsapi import get
-projects = "clang;lld;mlir" if get.buildTYPE() == "emul32" else "clang;clang-tools-extra;lld;lldb;polly;compiler-rt;mlir"
+projects = "clang;mlir" if get.buildTYPE() == "emul32" else "clang;clang-tools-extra;lld;lldb;polly;compiler-rt;mlir"
libdir = "/usr/lib32/llvm" if get.buildTYPE() == "emul32" else "/usr/lib/llvm"
lib = "lib32" if get.buildTYPE() == "emul32" else "lib"
libsuffix = "32" if get.buildTYPE() == "emul32" else " "
diff --git a/programming/build/llvm/pspec.xml b/programming/build/llvm/pspec.xml
index 1a17ff3616..6e5f202e03 100755
--- a/programming/build/llvm/pspec.xml
+++ b/programming/build/llvm/pspec.xml
@@ -87,13 +87,13 @@
/usr/lib/LLVMgold.*
/usr/lib/libLTO.*
- /usr/lib/libPolly.so*
- /usr/lib/LLVMPolly.so*
- /usr/lib/libPollyISL.so*
- /usr/lib/libPollyPPCG.so*
- /usr/lib/libRemarks.so*
- /usr/lib/libMLIR*.so*
- /usr/lib/libmlir*.so*
+ /usr/lib/libPolly*
+ /usr/lib/LLVMPolly*
+ /usr/lib/libPolly*
+ /usr/lib/libPolly*
+ /usr/lib/libRemarks*
+ /usr/lib/libMLIR*
+ /usr/lib/libmlir*
/usr/lib/bfd-plugins/LLVMgold.so
/usr/share/licenses/llvm-libs/LICENSE
@@ -148,7 +148,7 @@
/usr/bin/lld
/usr/bin/lld-link
/usr/bin/wasm-ld
- /usr/lib/liblldMachO2.so*
+ /usr/lib/liblldMachO2*
/usr/lib/liblldCOFF.*
/usr/lib/liblldCommon.*
/usr/lib/liblldCore.*