From 1447d36b7ea368b4e7bdec04d59127f72242cf25 Mon Sep 17 00:00:00 2001
From: Stephen Kitt <steve@sk2.org>
Date: Mon, 12 Jan 2026 18:38:08 +0100
Subject: [PATCH] Disable the static library entirely

Closes: #1125282.
---
 debian/changelog | 8 ++++++++
 debian/rules     | 3 +++
 2 files changed, 11 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index 78e9bc8..986cd50 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,11 @@
+iir1 (1.9.5+dfsg-1+deb13u1) trixie; urgency=medium
+
+  * Disable the static library entirely, instead of building it and not
+    shipping it, which results in a dysfunctional CMake configuration
+    file. Closes: #1125282.
+
+ -- Stephen Kitt <skitt@debian.org>  Mon, 19 Oct 2026 08:46:58 +0200
+
 iir1 (1.9.5+dfsg-1) unstable; urgency=medium
 
   * New upstream release.
diff --git a/debian/rules b/debian/rules
index 5360c7d..b1d761a 100755
--- a/debian/rules
+++ b/debian/rules
@@ -5,6 +5,9 @@ export DEB_BUILD_MAINT_OPTIONS = hardening=+all
 %:
 	dh $@
 
+override_dh_auto_configure:
+	dh_auto_configure -- -DIIR1_INSTALL_STATIC=OFF
+
 override_dh_auto_build-indep:
 	doxygen
 	make -C docs/pdf
-- 
2.47.3

