From fc3018acb8a062345a142f8c09b4110e0d09c706 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Mon, 24 Feb 2025 05:45:43 +0100 Subject: [PATCH] Avoid linking zupdate statically. Signed-off-by: Daniel Baumann --- debian/patches/0002-zupdate.patch | 15 +++++++++++++++ debian/patches/series | 1 + 2 files changed, 16 insertions(+) create mode 100644 debian/patches/0002-zupdate.patch diff --git a/debian/patches/0002-zupdate.patch b/debian/patches/0002-zupdate.patch new file mode 100644 index 0000000..93e179f --- /dev/null +++ b/debian/patches/0002-zupdate.patch @@ -0,0 +1,15 @@ +Author: Daniel Baumann +Description: Avoid linking zupdate statically. + +diff -Naurp zutils.orig/Makefile.in zutils/Makefile.in +--- zutils.orig/Makefile.in ++++ zutils/Makefile.in +@@ -53,7 +53,7 @@ ztest : ztest.in + chmod a+x ztest + + zupdate : $(zupdate_objs) +- $(CXX) $(LDFLAGS) -o $@ $(zupdate_objs) ++ $(CXX) -o $@ $(zupdate_objs) + + main.o : main.cc + $(CXX) $(CPPFLAGS) $(CXXFLAGS) -DGREP=\"$(GREP)\" -c -o $@ $< diff --git a/debian/patches/series b/debian/patches/series index 58cf314..202a17f 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -1 +1,2 @@ 0001-build.patch +0002-zupdate.patch