summaryrefslogtreecommitdiffstats
path: root/debian/libstd-rust-dev.lintian-overrides
diff options
context:
space:
mode:
Diffstat (limited to 'debian/libstd-rust-dev.lintian-overrides')
-rw-r--r--debian/libstd-rust-dev.lintian-overrides11
1 files changed, 11 insertions, 0 deletions
diff --git a/debian/libstd-rust-dev.lintian-overrides b/debian/libstd-rust-dev.lintian-overrides
new file mode 100644
index 000000000..33ea50b57
--- /dev/null
+++ b/debian/libstd-rust-dev.lintian-overrides
@@ -0,0 +1,11 @@
+# lintian does not know about rust arch-specific directories
+libstd-rust-dev binary: arch-dependent-file-not-in-arch-specific-directory [usr/lib/rustlib/*/lib/lib*.rlib]
+libstd-rust-dev binary: breakout-link usr/lib/rustlib/*/lib/lib*.so -> usr/lib/*/lib*.so
+
+# lintian doesn't understand rlib files
+libstd-rust-dev binary: no-code-sections [*.rlib]
+
+# See debhelper bug #875780. This override is commented out because it's not
+# always needed, but we want it here for documentation purposes. Basically,
+# if you see it then you probably don't need to worry about it.
+#libstd-rust-dev binary: unstripped-static-library usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/lib*.rlib(*)