changeset 1164:d201e0461c3c

fix make dependecies: pcre-6.5+ already has pcre.h
author Igor Sysoev <igor@sysoev.ru>
date Wed, 18 Apr 2007 11:09:38 +0000
parents 8288459f15c9
children efb7d84db340
files auto/lib/pcre/make
diffstat 1 files changed, 4 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/auto/lib/pcre/make
+++ b/auto/lib/pcre/make
@@ -53,14 +53,16 @@ END
     *)
         cat << END                                            >> $NGX_MAKEFILE
 
-$PCRE/pcre.h:	$NGX_MAKEFILE
+$PCRE/pcre.h:	$PCRE/Makefile
+
+$PCRE/Makefile:	$NGX_MAKEFILE
 	cd $PCRE \\
 	&& if [ -f Makefile ]; then \$(MAKE) distclean; fi \\
 	&& CC="\$(CC)" CFLAGS="$PCRE_OPT" \\
 	./configure --disable-shared
 
 
-$PCRE/.libs/libpcre.a:	$PCRE/pcre.h
+$PCRE/.libs/libpcre.a:	$PCRE/Makefile
 	cd $PCRE \\
 	&& \$(MAKE) libpcre.la