Add preprocessor definition for static PCRE

This commit is contained in:
Matthew Furseman
2021-09-21 12:28:14 +01:00
parent dfbd308d46
commit a0d1b35862

View File

@ -60,6 +60,9 @@ ifneq ($(words $(PCRE_LIB) $(PCRE_INCLUDE)),0)
LIB_SYS_LIBS_DEFAULT += pcre
LIB_SYS_LIBS_WIN32 += $(PCRE_LIB)\\pcre
SHRLIB_DEPLIB_DIRS += $(PCRE_LIB)
ifdef ENABLE_STATIC
CPPFLAGS += -DPCRE_STATIC
endif
endif
endif