summaryrefslogtreecommitdiffstats
path: root/abs/extra-testing/help2man/help2man-1.37.1-respect-LDFLAGS.patch
blob: a314c27fe0fcea68e822eff02844009692544e2c (plain)
1
2
3
4
5
6
7
8
9
10
11
--- a/Makefile.in	2009-11-14 07:21:34.000000000 +0100
+++ b/Makefile.in	2010-02-10 12:23:35.000000000 +0100
@@ -103,7 +103,7 @@
 
 preload: $(preload).so
 $(preload).so: $(srcdir)/$(preload).c
-	$(CC) $(CFLAGS) -o $@ -fPIC -shared $? $(LIBS)
+	$(CC) $(CPPFLAGS) $(CFLAGS) $(LDFLAGS) -o $@ -fPIC -shared $? $(LIBS)
 
 man: $(target).1
 $(target).1: $(srcdir)/$(target).PL $(srcdir)/$(target).h2m