core/help2man/help2man-1.37.1-respect-LDFLAGS.patch

12 lines
395 B
Diff
Raw Permalink Normal View History

2011-07-24 04:30:19 +08:00
--- 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