fedora core 13/14 compile problem patch

Paul Lockaby <[email protected]> Fri, 12 Nov 2010 22:43:56 -0500
Newsgroups gmane.comp.apache.apreq
Message-ID <[email protected]>
Since it seems my last email seems to have been botched by Yahoo! I'm sending this patch out again so that it can get into the next release! This solves a problem with apreq2 compiling on Fedora 13 and newer. (The problem might be in RHEL6, since it is based on Fedora... but I'm not sure.)

Here is the problem it solves:

http://docs.fedoraproject.org/en-US/Fedora/13/html/Release_Notes/sect-Release_Notes-The_GCC_Compiler_Collection.html

And the patch is attached.
compileProblem.txt (text/plain, 460 B)
[paul@sol web]$ diff libapreq2-2.12/module/Makefile.am libapreq2-2.12.patched/module/Makefile.am 
7c7
< test_cgi_LDFLAGS =  `@APREQ_CONFIG@ --link-libtool`
---
> test_cgi_LDFLAGS =  `@APREQ_CONFIG@ --link-libtool` @APR_LDFLAGS@

[paul@sol web]$ diff libapreq2-2.12/module/Makefile.in libapreq2-2.12.patched/module/Makefile.in 
125c125
< test_cgi_LDFLAGS = `@APREQ_CONFIG@ --link-libtool`
---
> test_cgi_LDFLAGS = `@APREQ_CONFIG@ --link-libtool` @APR_LDFLAGS@