mirror of
https://github.com/nginx/nginx.git
synced 2025-02-03 12:00:33 -06:00
fix make dependecies: pcre-6.5+ already has pcre.h
This commit is contained in:
parent
de92bcccee
commit
5dbc83df06
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user