Re: [PATCH 2/3] fix out of tree build

Subject: Re: [PATCH 2/3] fix out of tree build

Date: Fri, 10 Mar 2017 13:24:07 -0400

To: Tomi Ollila, notmuch@notmuchmail.org

Cc: tomi.ollila@iki.fi

From: David Bremner


Tomi Ollila <tomi.ollila@iki.fi> writes:

> In addition to use ${srcdir} and deliver ${NOTMUCH_SRCDIR} where needed,
> source from ruby bindings had to be copied to the out-of-tree target
> directory -- if the source files in source directory were referenced
> in build and there were also built object files there, those could have
> been considered as target files (and then not found when attempting
> to create bindings/ruby/notmuch.so).

After apply the first two patches in this series,

% mkdir build && cd build && ../configure && make

works, but

% mkdir /tmp/foo && cd /tmp/foo && ~/software/upstream/notmuch/configure && make

does not.

Am I missing something?

d

Thread: