]> granicus.if.org Git - apache/commitdiff
move -L/path/to/pcrelib -lpcre out beyond all the LDFLAGS
authorJeff Trawick <trawick@apache.org>
Thu, 14 Apr 2011 19:16:44 +0000 (19:16 +0000)
committerJeff Trawick <trawick@apache.org>
Thu, 14 Apr 2011 19:16:44 +0000 (19:16 +0000)
this fixes unresolved symbol errors on on MinGW

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1092445 13f79535-47bb-0310-9956-ffa450edef68

configure.in

index 93d6029dc7673b9fe0286cf06cfa0198830515ce..417ab25397797738030b59a3a7c1a8ea7d0bba0d 100644 (file)
@@ -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}"