mirror of
https://git.proxmox.com/git/llvm-toolchain
synced 2025-07-27 06:31:27 +00:00
Run chrpath for libclang on sparc and sparc64
This commit is contained in:
parent
5162aed5c4
commit
042d184430
1
debian/changelog
vendored
1
debian/changelog
vendored
@ -6,6 +6,7 @@ llvm-toolchain-snapshot (1:19~++20240125092523+41fe98a6e7e5-1~exp2) UNRELEASED;
|
||||
|
||||
[ John Paul Adrian Glaubitz ]
|
||||
* Install *clang_rt* on sparc and sparc64
|
||||
* Run chrpath for libclang on sparc and sparc64
|
||||
|
||||
-- Sylvestre Ledru <sylvestre@debian.org> Thu, 25 Jan 2024 17:45:39 +0100
|
||||
|
||||
|
2
debian/rules
vendored
2
debian/rules
vendored
@ -1126,7 +1126,7 @@ override_dh_auto_install:
|
||||
|
||||
# Only run on executable, not script
|
||||
chrpath -d `find $(DEB_INST)/usr/lib/llvm-$(LLVM_VERSION)/bin/ -type f -executable -exec file -i '{}' \; | grep 'x-executable; charset=binary'|cut -d: -f1`
|
||||
ifeq (,$(filter $(DEB_HOST_ARCH), powerpc powerpcspe sparc sparc64))
|
||||
ifeq (,$(filter $(DEB_HOST_ARCH), powerpc powerpcspe))
|
||||
ifneq (,$(filter $(DEB_HOST_ARCH_OS),linux))
|
||||
# To fix custom-library-search-path
|
||||
chrpath -d $(DEB_INST)/usr/lib/llvm-$(LLVM_VERSION)/lib/clang/$(LLVM_VERSION)*/lib/linux/*.so
|
||||
|
Loading…
Reference in New Issue
Block a user