diff --git a/debian/control b/debian/control index 72e00ff..cd86a7b 100644 --- a/debian/control +++ b/debian/control @@ -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 Standards-Version: 4.5.1 Vcs-Git: git://git.proxmox.com/git/proxmox-mail-forward.git diff --git a/debian/rules b/debian/rules index a59e8be..de46826 100755 --- a/debian/rules +++ b/debian/rules @@ -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