On Thu, Apr 14, 2011 at 3:16 PM, <[email protected]> wrote: > Author: trawick > Date: Thu Apr 14 19:16:44 2011 > New Revision: 1092445 > > URL: http://svn.apache.org/viewvc?rev=1092445&view=rev > Log: > move -L/path/to/pcrelib -lpcre out beyond all the LDFLAGS > > this fixes unresolved symbol errors on on MinGW
This changes part of rjung's http://svn.apache.org/viewvc?view=revision&revision=730984 which fixed OS X builds at the time. I tested the latest patch with recent Ubuntu (system PCRE), MinGW, and OS X (both with my PCRE). Hopefully no platforms/build flavors got left behind. > > Modified: > httpd/httpd/trunk/configure.in > > Modified: httpd/httpd/trunk/configure.in > URL: > http://svn.apache.org/viewvc/httpd/httpd/trunk/configure.in?rev=1092445&r1=1092444&r2=1092445&view=diff > ============================================================================== > --- httpd/httpd/trunk/configure.in (original) > +++ httpd/httpd/trunk/configure.in Thu Apr 14 19:16:44 2011 > @@ -204,9 +204,7 @@ else > AC_MSG_ERROR([pcre-config for libpcre not found. PCRE is required and > available from http://pcre.org/]) > fi > APACHE_SUBST(PCRE_LIBS) > - > -dnl Add PCRE_LIBS to HTTPD_LDFLAGS > -APR_ADDTO(HTTPD_LDFLAGS, [\$(PCRE_LIBS)]) > +APR_ADDTO(AP_LIBS, [\$(PCRE_LIBS)]) > > echo $ac_n "${nl}Configuring Apache httpd ...${nl}"
