]> git.notmuchmail.org Git - notmuch/blobdiff - compat/Makefile.local
Add simplistic reimplementation of strcasestr to compat library
[notmuch] / compat / Makefile.local
index ccc59aefdf2517e1db94ca91c7ac0c55a23111d5..653fc710b68022d9596fc2579ec78e2c435e2a2f 100644 (file)
@@ -1,8 +1,14 @@
-dir=compat
+# -*- makefile -*-
+
+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_STRCASESTR),1)
+notmuch_compat_srcs += $(dir)/strcasestr.c
+endif