]> git.notmuchmail.org Git - notmuch/blobdiff - compat/Makefile.local
Makefile: Incorporate getline implementation into the build.
[notmuch] / compat / Makefile.local
diff --git a/compat/Makefile.local b/compat/Makefile.local
new file mode 100644 (file)
index 0000000..ccc59ae
--- /dev/null
@@ -0,0 +1,8 @@
+dir=compat
+extra_cflags += -I$(dir)
+
+notmuch_compat_srcs =
+
+ifneq ($(HAVE_GETLINE),1)
+notmuch_compat_srcs += $(dir)/getline.c $(dir)/getdelim.c
+endif