Add simplistic reimplementation of strcasestr to compat library
[notmuch] / compat / Makefile.local
index 50f6cd191468b10d6e7c730ee433e6807719f627..653fc710b68022d9596fc2579ec78e2c435e2a2f 100644 (file)
@@ -8,3 +8,7 @@ notmuch_compat_srcs :=
 ifneq ($(HAVE_GETLINE),1)
 notmuch_compat_srcs += $(dir)/getline.c $(dir)/getdelim.c
 endif
+
+ifneq ($(HAVE_STRCASESTR),1)
+notmuch_compat_srcs += $(dir)/strcasestr.c
+endif