foomatic/foomatic-ldflags.patch

17 lines
847 B
Diff
Raw Permalink Normal View History

diff -up foomatic-db-engine-4.0.12/Makefile.in.ldflags foomatic-db-engine-4.0.12/Makefile.in
--- foomatic-db-engine-4.0.12/Makefile.in.ldflags 2018-03-02 15:44:15.956764348 +0100
+++ foomatic-db-engine-4.0.12/Makefile.in 2018-03-02 15:47:18.815459860 +0100
@@ -231,10 +231,10 @@ lib/Makefile: lib/Makefile.PL
( cd lib && $(PERL) Makefile.PL verbose INSTALLDIRS=$(PERL_INSTALLDIRS) )
foomatic-combo-xml: foomatic-combo-xml.c
- $(CC) $(CFLAGS) -o foomatic-combo-xml foomatic-combo-xml.c
+ $(CC) $(CFLAGS) $(LDFLAGS) -o foomatic-combo-xml foomatic-combo-xml.c
foomatic-perl-data: foomatic-perl-data.c
- $(CC) $(CFLAGS) $(XML_CFLAGS) -o foomatic-perl-data foomatic-perl-data.c $(XML_LIBS)
+ $(CC) $(CFLAGS) $(XML_CFLAGS) $(LDFLAGS) -o foomatic-perl-data foomatic-perl-data.c $(XML_LIBS)
man: lib/Foomatic/Defaults.pm
chmod a+rx ./makeMan