# HG changeset patch # User Maxim Dounin # Date 1377284034 -14400 # Node ID b3f6290a94015a79b0d613339fce0974d433ceb2 # Parent 654c1631dc86f082aa57c7f926c4bb7730155855 Configure: pcre.lib dependencies fix. Previously, an attempt to build pcre.lib on win32 before anything else failed due to no pcre.h. 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"`