]> git.notmuchmail.org Git - notmuch/blobdiff - compat/Makefile.local
Add simplistic reimplementation of strcasestr to compat library
[notmuch] / compat / Makefile.local
index 81e6c707d6ad9f2e1ff2c4a3b14aa9829eaa242f..653fc710b68022d9596fc2579ec78e2c435e2a2f 100644 (file)
@@ -3,8 +3,12 @@
 dir := compat
 extra_cflags += -I$(dir)
 
 dir := compat
 extra_cflags += -I$(dir)
 
-notmuch_compat_srcs =
+notmuch_compat_srcs :=
 
 ifneq ($(HAVE_GETLINE),1)
 notmuch_compat_srcs += $(dir)/getline.c $(dir)/getdelim.c
 endif
 
 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