summaryrefslogtreecommitdiffstats
path: root/abs/extra/help2man/help2man-1.37.1-respect-LDFLAGS.patch
diff options
context:
space:
mode:
Diffstat (limited to 'abs/extra/help2man/help2man-1.37.1-respect-LDFLAGS.patch')
-rw-r--r--abs/extra/help2man/help2man-1.37.1-respect-LDFLAGS.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/abs/extra/help2man/help2man-1.37.1-respect-LDFLAGS.patch b/abs/extra/help2man/help2man-1.37.1-respect-LDFLAGS.patch
new file mode 100644
index 0000000..a314c27
--- /dev/null
+++ b/abs/extra/help2man/help2man-1.37.1-respect-LDFLAGS.patch
@@ -0,0 +1,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