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