diff --git a/streamApp/Makefile b/streamApp/Makefile index 6c6d6ac..afd72c5 100644 --- a/streamApp/Makefile +++ b/streamApp/Makefile @@ -48,6 +48,16 @@ endif streamApp_DBD += stream.dbd +ifdef PCRE +LIB_LIBS += pcre +else +ifneq ($(words $(PCRE_LIB) $(PCRE_INCLUDE)),0) +PROD_SYS_LIBS_DEFAULT += pcre +PROD_SYS_LIBS_WIN32 += $(PCRE_LIB)\\pcre +SHRLIB_DEPLIB_DIRS += $(PCRE_LIB) +endif +endif + PROD_LIBS += $(EPICS_BASE_IOC_LIBS) # Write StreamDevice debug output to this file