From 790d11edf1421eb1cf2b43d9559b8aaef5a64ebc Mon Sep 17 00:00:00 2001 From: Wolfgang Bumiller Date: Wed, 10 Nov 2021 12:18:39 +0100 Subject: [PATCH] buildsys: drop -C prefer-dynamic (and rebuild 0.3.0) also add perl depends the std library is actually big and not linking dynamically doesn't add much besides, the package names for libstd would cause issues with minor compiler bumps... the 0.3.0 package is actually built from this commit now, since the installability checks caught this... Signed-off-by: Wolfgang Bumiller --- pve-rs/debian/control | 1 + pve-rs/debian/rules | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/pve-rs/debian/control b/pve-rs/debian/control index 18a99b2..17f8f76 100644 --- a/pve-rs/debian/control +++ b/pve-rs/debian/control @@ -35,6 +35,7 @@ Package: libpve-rs-perl Architecture: any Depends: ${misc:Depends}, + ${perl:Depends}, ${shlibs:Depends}, Description: PVE parts which have been ported to Rust - Rust source code This package contains the source for the Rust pve-rs crate, packaged by diff --git a/pve-rs/debian/rules b/pve-rs/debian/rules index 2b39115..0f5be05 100755 --- a/pve-rs/debian/rules +++ b/pve-rs/debian/rules @@ -2,7 +2,6 @@ #export DH_VERBOSE=1 export BUILD_MODE=release -export RUSTFLAGS=-C prefer-dynamic %: dh $@