llvm18: fix libz3 link
Some checks failed
Build buildroot containers / build (glibc) (push) Has been cancelled
Build buildroot containers / build (musl) (push) Has been cancelled

This commit is contained in:
Đoàn Trần Công Danh 2025-06-16 15:11:57 +07:00
parent 70b452f5fc
commit 70a2664fc6

View file

@ -1,7 +1,7 @@
# Template file for 'llvm18'.
pkgname=llvm18
version=18.1.8
revision=3
revision=4
build_wrksrc=llvm
build_style=cmake
configure_args="
@ -311,6 +311,8 @@ post_install() {
vcopy ${wrksrc}/${build_wrksrc}/runtimes-doc/libunwind/docs/html ${LIBUNWIND_DOCS}
fi
sed -i 's|/usr[^;]*libz3.so|z3|' "${DESTDIR}/usr/lib/cmake/llvm/LLVMExports.cmake"
# Can this be disabled some other way?
rm -rf ${DESTDIR}/usr/lib64
}