Avoid linking zupdate statically.
Signed-off-by: Daniel Baumann <daniel@debian.org>
This commit is contained in:
parent
efa0d5eefe
commit
fc3018acb8
2 changed files with 16 additions and 0 deletions
15
debian/patches/0002-zupdate.patch
vendored
Normal file
15
debian/patches/0002-zupdate.patch
vendored
Normal file
|
@ -0,0 +1,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 $@ $<
|
1
debian/patches/series
vendored
1
debian/patches/series
vendored
|
@ -1 +1,2 @@
|
|||
0001-build.patch
|
||||
0002-zupdate.patch
|
||||
|
|
Loading…
Add table
Reference in a new issue