summaryrefslogtreecommitdiffstats
path: root/debian/patches/0002-zupdate.patch
blob: 93e179f4eae00529856e44c3d71fb6251c60564c (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
@@ -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 $@ $<