mirror of
https://git.proxmox.com/git/llvm-toolchain
synced 2025-08-02 14:02:04 +00:00
fix the lldb install & lib
This commit is contained in:
parent
415b26e942
commit
a485f89603
2
debian/liblld-X.Y.install.in
vendored
2
debian/liblld-X.Y.install.in
vendored
@ -1 +1 @@
|
||||
#usr/lib/llvm-@LLVM_VERSION@/lib/liblld-@LLVM_VERSION@.so.1 /usr/lib/@DEB_HOST_MULTIARCH@/
|
||||
usr/lib/llvm-@LLVM_VERSION@/lib/liblld-@LLVM_VERSION@.so.1 /usr/lib/@DEB_HOST_MULTIARCH@/
|
||||
|
6
debian/rules
vendored
6
debian/rules
vendored
@ -284,6 +284,12 @@ override_dh_auto_install:
|
||||
ln -s libclang-$(LLVM_VERSION).so.$(SONAME_EXT) libclang.so.$(SONAME_EXT); \
|
||||
ln -s libclang-$(LLVM_VERSION).so.$(SONAME_EXT) libclang-$(LLVM_VERSION).so
|
||||
|
||||
cd debian/tmp/usr/lib/llvm-$(LLVM_VERSION)/lib/ && \
|
||||
mv liblldb.so.$(LLVM_VERSION_FULL) liblldb-$(LLVM_VERSION).so.$(SONAME_EXT) && \
|
||||
rm -f liblldb.so && \
|
||||
ln -s liblldb-$(LLVM_VERSION).so.$(SONAME_EXT) liblldb.so && \
|
||||
ln -s liblldb-$(LLVM_VERSION).so.$(SONAME_EXT) liblldb.so.$(LLVM_VERSION_FULL)
|
||||
|
||||
# Remove artefact (where compiler-rt is built)
|
||||
# if test -d $(TARGET_BUILD)/tools/clang/runtime/compiler-rt/clang_linux; then \
|
||||
# cd $(TARGET_BUILD)/tools/clang/runtime/compiler-rt/clang_linux && rm -rf $$(find . -mindepth 2 -maxdepth 2 -type d) && rm -rf $$(find -empty) && rm -rf */.dir; \
|
||||
|
Loading…
Reference in New Issue
Block a user