d/rules: patch out unnecessary librt linkage

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
Thomas Lamprecht 2022-11-10 13:08:52 +01:00
parent 53de12a741
commit 1d5cb0707b
2 changed files with 6 additions and 1 deletions

3
debian/control vendored
View File

@ -13,7 +13,8 @@ Build-Depends: debhelper (>= 12),
librust-proxmox-sys-0.4+default-dev,
librust-serde-1+default-dev,
librust-serde-1+derive-dev,
librust-syslog-4+default-dev
librust-syslog-4+default-dev,
patchelf,
Maintainer: Proxmox Support Team <support@proxmox.com>
Standards-Version: 4.5.1
Vcs-Git: git://git.proxmox.com/git/proxmox-mail-forward.git

4
debian/rules vendored
View File

@ -15,3 +15,7 @@ export CARGO_HOME = $(CURDIR)/debian/cargo_home
override_dh_fixperms:
dh_fixperms --exclude proxmox-mail-forward
override_dh_strip:
dh_strip
patchelf --remove-needed librt.so.1 debian/proxmox-mail-forward/usr/bin/proxmox-mail-forward