Ticket #23030: patch-Makefile.in

File patch-Makefile.in, 673 bytes (added by jlaurila@…, 15 years ago)
Line 
1--- ../lrzip-0.42-orig/Makefile.in      2009-11-30 01:54:07.000000000 +0200
2+++ Makefile.in 2009-12-25 14:55:36.000000000 +0200
3@@ -14,6 +14,7 @@
4 INSTALL_DOC=@docdir@
5 INSTALL_DOC_LZMA=@docdir@/lzma
6 LIBS=@LIBS@
7+LDFLAGS=@LDFLAGS@
8 CC=@CC@
9 CXX=@CXX@
10 CFLAGS=@CFLAGS@ -I. -I$(srcdir) -Wall -W -c
11@@ -106,10 +107,10 @@
12        ${INSTALLCMD} -m 644 $(DOCFILES_LZMA) $(DESTDIR)${INSTALL_DOC_LZMA}
13 
14 lrzip: $(OBJS)
15-       $(CXX) -o lrzip $(OBJS) $(LIBS)
16+       $(CXX) $(LDFLAGS) -o lrzip $(OBJS) $(LIBS)
17 
18 static: $(OBJS)
19-       $(CXX) -static -o lrzip $(OBJS) $(LIBS)
20+       $(CXX) $(LDFLAGS) -static -o lrzip $(OBJS) $(LIBS)
21 
22 clean:
23        -${RM} *~ $(OBJS) lrzip config.cache config.log config.status *.o