From 4acde463ecce103744efd5fc907ee4686111d782 Mon Sep 17 00:00:00 2001 From: Mark Pizzolato Date: Wed, 4 Dec 2019 16:33:13 -0800 Subject: [PATCH] makefile: Fallback to use regex library when pcre shared object isn't available --- makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/makefile b/makefile index ba1d9c76..9ea67426 100644 --- a/makefile +++ b/makefile @@ -503,7 +503,8 @@ ifeq ($(WIN32),) #*nix Environments (&& cygwin) OS_LDFLAGS += -L$(dir $(call find_lib,pcreposix)) endif endif - else + endif + ifeq (,$(findstring DHAVE_PCREPOSIX_H,$(OS_CCDEFS))) # If libpcreposix isn't available, fall back to the local regex.h # Presume that the local regex support is available in the C runtime # without a specific reference to a library. This may not be true on