mirror of
https://git.proxmox.com/git/rustc
synced 2025-08-05 17:12:52 +00:00
debian: shlibdeps support for multiple architectures
Signed-off-by: Jordan Justen <jljusten@gmail.com>
This commit is contained in:
parent
1870024997
commit
0f729e318d
9
debian/rules
vendored
9
debian/rules
vendored
@ -59,9 +59,14 @@ override_dh_auto_configure:
|
||||
override_dh_auto_test:
|
||||
true
|
||||
|
||||
LD_TMP1 := $(RUST_TMP_PREFIX)/lib
|
||||
LD_TMP2 := $(LD_TMP1)/rustlib/i686-unknown-linux-gnu/lib
|
||||
LD_TMP3 := $(LD_TMP1)/rustlib/x86_64-unknown-linux-gnu/lib
|
||||
RUST_TMP_LD_PATH := $(LD_TMP1):$(LD_TMP2):$(LD_TMP3)
|
||||
|
||||
override_dh_shlibdeps:
|
||||
LD_LIBRARY_PATH=$(RUST_TMP_PREFIX)/lib:$(LD_LIBRARY_PATH) \
|
||||
dh_shlibdeps -l$(RUST_TMP_PREFIX)/lib
|
||||
LD_LIBRARY_PATH=$(RUST_TMP_LD_PATH):$(LD_LIBRARY_PATH) \
|
||||
dh_shlibdeps -l$(RUST_TMP_LD_PATH)
|
||||
|
||||
override_dh_auto_install:
|
||||
dh_auto_install
|
||||
|
Loading…
Reference in New Issue
Block a user