PKGBUILDs/extra/help2man/help2man-1.36.4-respect-LDFLAGS.patch
2009-10-09 21:23:22 -05:00

11 lines
323 B
Diff

--- a/Makefile.in
+++ b/Makefile.in
@@ -102,7 +102,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