summaryrefslogtreecommitdiff
path: root/net-print/foomatic-db-engine/files/4.0.7-respect-ldflag.patch
blob: 7a62faabc684c358c35453f5ba99cc226838111d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
--- a/Makefile.in
+++ b/Makefile.in
@@ -231,10 +231,10 @@
 	( 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) $(LDFLAGS) -o foomatic-perl-data foomatic-perl-data.c $(XML_CFLAGS) $(XML_LIBS)
 
 man: lib/Foomatic/Defaults.pm
 	chmod a+rx ./makeMan