mirror of
https://git.proxmox.com/git/rustc
synced 2026-01-22 10:54:10 +00:00
Split out libraries from rustc.deb into new packages: - libstd-rust-4e7c5e5c - run-time dylibs - libstd-rust-dev - compile-time dylibs + rlibs Run-time dylibs (libstd-rust-4e7c5e5c) are installed into regular multiarch lib path, compile-time libs are installed into /usr/lib/rustlib/$rust_triple/ While we're at it, split out rust-gdb, rust-lldb into their own packages too.
9 lines
315 B
Makefile
9 lines
315 B
Makefile
# This Makefile snippet defines DEB_*_RUST_TYPE triples based on DEB_*_GNU_TYPE
|
|
|
|
include /usr/share/dpkg/architecture.mk
|
|
|
|
rust_cpu = $(subst i586,i686,$(1))
|
|
|
|
$(foreach machine,BUILD HOST TARGET,\
|
|
$(eval DEB_$(machine)_RUST_TYPE ?= $(call rust_cpu,$(DEB_$(machine)_GNU_CPU))-unknown-$(DEB_$(machine)_GNU_SYSTEM)))
|