Support accepting PCRE_CONF_OPT from env variable.

Needed for cross-compilation. Example:
PCRE_CONF_OPT="--host aarch64-none-linux-gnu-"
This commit is contained in:
Orgad Shaneh 2025-02-13 23:11:29 +02:00
parent 3327353ec0
commit 72bcdab4dd

View File

@ -148,7 +148,8 @@ NGX_COMPAT=NO
USE_PCRE=NO
PCRE=NONE
PCRE_OPT=
PCRE_CONF_OPT=
# Intentionally commented out to allow external flags to be passed
#PCRE_CONF_OPT=
PCRE_JIT=NO
PCRE2=YES