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

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