File tree 1 file changed +0
-39
lines changed 1 file changed +0
-39
lines changed Original file line number Diff line number Diff line change 405
405
406
406
# ----------------------------------------
407
407
408
- if [ $USE_PCRE = YES -o $PCRE != NONE ] && [ $PCRE != NO -a $PCRE != YES ] && [ $PCRE2 != YES ]; then
409
- # force pcre_version symbol to be required when PCRE is statically linked
410
- case "$NGX_PLATFORM" in
411
- Darwin:*)
412
- ngx_feature="require defined symbols (-u)"
413
- ngx_feature_name=
414
- ngx_feature_path=
415
- ngx_feature_libs="-Wl,-u,_strerror"
416
- ngx_feature_run=no
417
- ngx_feature_incs="#include <stdio.h>"
418
- ngx_feature_test='printf("hello");'
419
-
420
- . auto/feature
421
-
422
- if [ $ngx_found = yes ]; then
423
- CORE_LIBS="-Wl,-u,_pcre_version $CORE_LIBS"
424
- fi
425
- ;;
426
-
427
- *)
428
- ngx_feature="require defined symbols (--require-defined)"
429
- ngx_feature_name=
430
- ngx_feature_path=
431
- ngx_feature_libs="-Wl,--require-defined=strerror"
432
- ngx_feature_run=no
433
- ngx_feature_incs="#include <stdio.h>"
434
- ngx_feature_test='printf("hello");'
435
-
436
- . auto/feature
437
-
438
- if [ $ngx_found = yes ]; then
439
- CORE_LIBS="-Wl,--require-defined=pcre_version $CORE_LIBS"
440
- fi
441
- ;;
442
- esac
443
- fi
444
-
445
- # ----------------------------------------
446
-
447
408
USE_MD5=YES
448
409
USE_SHA1=YES
449
410
You can’t perform that action at this time.
0 commit comments