summaryrefslogtreecommitdiffstats
path: root/debian/patches/0002-zupdate.patch
blob: d77c97cd5dbd98c981506b4180cc0b3d55ad3994 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
Author: Daniel Baumann <mail@daniel-baumann.ch>
Description: Avoid linking zupdate statically.

diff -Naurp zutils.orig/Makefile.in zutils/Makefile.in
--- zutils.orig/Makefile.in
+++ zutils/Makefile.in
@@ -49,7 +49,7 @@ ztest : $(ztest_objs)
 	$(CXX) $(LDFLAGS) -o $@ $(ztest_objs)
 
 zupdate : $(zupdate_objs)
-	$(CXX) $(LDFLAGS) -o $@ $(zupdate_objs)
+	$(CXX) -o $@ $(zupdate_objs)
 
 rc.o : rc.cc
 	$(CXX) $(CPPFLAGS) $(CXXFLAGS) -DPROGVERSION=\"$(pkgversion)\" -DSYSCONFDIR=\"$(sysconfdir)\" -c -o $@ $<