We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 1c3615c + 9a71e3b commit 961915cCopy full SHA for 961915c
configure.ac
@@ -714,6 +714,16 @@ AS_IF([test "x$enable_pcre2" != "xno"], [
714
])
715
AM_CONDITIONAL(HAVE_PCRE2, test "x$have_libpcre2_8" = xyes)
716
717
+if test "${enable_static}" = "yes"; then
718
+ if test "${have_libpcre2_8}" = "yes"; then
719
+ if test "${host_mingw}" = "yes"; then
720
+ dnl -DPCRE2_STATIC needs to be added manually.
721
+ PCRE2_CFLAGS="$PCRE2_CFLAGS -DPCRE2_STATIC"
722
+ fi
723
724
+fi
725
+
726
727
# Checks for missing prototypes
728
# -----------------------------
729
AC_MSG_NOTICE(checking for new missing prototypes)
0 commit comments