From c10085c77b407d9ea704f8b4f9e0a805f63e72cb Mon Sep 17 00:00:00 2001 From: Aaron Ecay Date: Sun, 11 Apr 2010 19:44:52 -0400 Subject: Fix up Makefile for build. Must set extra_c(xx)flags before including subdir Makefile.local's, so that there is a blank slate that the subdirs can add on to. Must include subdir Makefile.local's before global one, otherwise the compat sources are not added to the list of those to be compiled. Signed-off-by: Aaron Ecay --- compat/Makefile.local | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'compat') diff --git a/compat/Makefile.local b/compat/Makefile.local index 81e6c707..50f6cd19 100644 --- a/compat/Makefile.local +++ b/compat/Makefile.local @@ -3,7 +3,7 @@ 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 -- cgit v1.2.3