]> git.notmuchmail.org Git - notmuch/blobdiff - compat/Makefile.local
strsep: check for availability (Solaris support)
[notmuch] / compat / Makefile.local
index 504eb7157cc281e8c9c5483ca42637f0740476b4..2c4f65fc63aa523773fbac9f5523bf87a4c383bf 100644 (file)
@@ -12,3 +12,9 @@ endif
 ifneq ($(HAVE_STRCASESTR),1)
 notmuch_compat_srcs += $(dir)/strcasestr.c
 endif
+
+ifneq ($(HAVE_STRSEP),1)
+notmuch_compat_srcs += $(dir)/strsep.c
+endif
+
+SRCS := $(SRCS) $(notmuch_compat_srcs)