control: tags -1 patch

On 2018-08-28 21:14:34 [-0700], Jonathan Nieder wrote:
> Thanks for reporting.  I should be able to look into this this weekend.

The static build should enable threads. Patch attached.



> Sincerely,
> Jonathan

Sebastoam
From: Sebastian Andrzej Siewior <sebast...@breakpoint.cc>
Date: Fri, 25 Dec 2020 00:23:59 +0100
Subject: [PATCH] Enable threads for static builds.

Signed-off-by: Sebastian Andrzej Siewior <sebast...@breakpoint.cc>
---
 debian/changelog | 1 +
 debian/rules     | 2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/debian/changelog b/debian/changelog
index 9af662ae1af28..f8003ef8b3680 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -3,6 +3,7 @@ xz-utils (5.2.4-1.1) UNRELEASED; urgency=medium
   * Non-maintainer upload.
   * Add % target to the rules file to work with newer debhelper
     (Closes: #945961).
+  * Enable threads for static builds (Closes: #907449).
 
  -- Sebastian Andrzej Siewior <sebast...@breakpoint.cc>  Thu, 24 Dec 2020 14:34:19 +0100
 
diff --git a/debian/rules b/debian/rules
index 7e0676e31eb7a..d805ccefe564c 100755
--- a/debian/rules
+++ b/debian/rules
@@ -74,7 +74,7 @@ debian/normal-build/Makefile debian/normal-build/Doxyfile: $(configure_input)
 debian/static-build/Makefile: $(configure_input)
 	dh_auto_configure --builddirectory debian/static-build -- \
 		$(opt_reproduce) \
-		--disable-threads --disable-shared \
+		--enable-threads --disable-shared \
 		--enable-liblzma2-compat \
 		$(opt_optimize) $(opt_quiet) \
 		--disable-lzmainfo --disable-scripts \
-- 
2.29.2

Reply via email to