[nginx] Configure: pcre.lib dependencies fix.

Maxim Dounin mdounin at mdounin.ru
Fri Aug 23 23:16:38 UTC 2013


details:   http://hg.nginx.org/nginx/rev/b3f6290a9401
branches:  
changeset: 5342:b3f6290a9401
user:      Maxim Dounin <mdounin at mdounin.ru>
date:      Fri Aug 23 22:53:54 2013 +0400
description:
Configure: pcre.lib dependencies fix.

Previously, an attempt to build pcre.lib on win32 before anything else
failed due to no pcre.h.

diffstat:

 auto/lib/pcre/make |  3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diffs (13 lines):

diff --git a/auto/lib/pcre/make b/auto/lib/pcre/make
--- a/auto/lib/pcre/make
+++ b/auto/lib/pcre/make
@@ -32,7 +32,8 @@ case "$NGX_PLATFORM" in
 
         cat << END                                            >> $NGX_MAKEFILE
 
-`echo "$PCRE/pcre.lib:	$NGX_MAKEFILE" | sed -e "s/\//$ngx_regex_dirsep/g"`
+`echo "$PCRE/pcre.lib:	$PCRE/pcre.h $NGX_MAKEFILE"			\
+	| sed -e "s/\//$ngx_regex_dirsep/g"`
 	\$(MAKE) -f auto/lib/pcre/$ngx_makefile $ngx_pcre $ngx_opt
 
 `echo "$PCRE/pcre.h:" | sed -e "s/\//$ngx_regex_dirsep/g"`



More information about the nginx-devel mailing list