mirror of
https://git.proxmox.com/git/llvm-toolchain
synced 2025-08-13 12:27:16 +00:00
use ld_lib_path everywhere
This commit is contained in:
parent
f35c43f15e
commit
3044b81424
4
debian/rules
vendored
4
debian/rules
vendored
@ -696,9 +696,9 @@ endif
|
|||||||
# endif
|
# endif
|
||||||
ifeq ($(shell dpkg --compare-versions $(shell dpkg-query -W -f '$${Version}' binutils) ge 2.28 ; echo $$?),0)
|
ifeq ($(shell dpkg --compare-versions $(shell dpkg-query -W -f '$${Version}' binutils) ge 2.28 ; echo $$?),0)
|
||||||
# strip segfaults on libFuzzer.a
|
# strip segfaults on libFuzzer.a
|
||||||
PATH=$(CURDIR)/:$$PATH dh_strip -a -v -XlibFuzzer.a -Xlibc++.a -Xlibc++abi.a -Xlibc++experimental.a -XlibclangTidyModernizeModule.a
|
PATH=$(CURDIR)/:$$PATH LD_LIBRARY_PATH=$(DEB_INST)/usr/lib/llvm-$(LLVM_VERSION)/lib/ dh_strip -a -v -XlibFuzzer.a -Xlibc++.a -Xlibc++abi.a -Xlibc++experimental.a -XlibclangTidyModernizeModule.a
|
||||||
else
|
else
|
||||||
PATH=$(CURDIR)/:$$PATH dh_strip -a -v
|
PATH=$(CURDIR)/:$$PATH LD_LIBRARY_PATH=$(DEB_INST)/usr/lib/llvm-$(LLVM_VERSION)/lib/ dh_strip -a -v
|
||||||
endif
|
endif
|
||||||
: # Remove the workaround
|
: # Remove the workaround
|
||||||
rm $(CURDIR)/strip
|
rm $(CURDIR)/strip
|
||||||
|
Loading…
Reference in New Issue
Block a user