Unbreak test_dbfn make-target
authorPhil Pennock <pdp@exim.org>
Sun, 12 Feb 2017 00:37:04 +0000 (19:37 -0500)
committerPhil Pennock <pdp@exim.org>
Sun, 12 Feb 2017 00:41:03 +0000 (19:41 -0500)
commitc74a319dd3fbc47e0ad2adbde69f3a9ad0e7c5cd
treedbffdb82a6ee1e68374817676802d144dcb9e1f1
parentd6a72690b2361a4f9aa95ce34769c0d7433e02d0
Unbreak test_dbfn make-target

doc/dbm.discuss.txt describes how to make and use `test_dbfn` for
testing DB functionality.

Commit cf0812d5 adds a call to assert_no_variables into store.c which
depends upon expand.c functionality and we can't link that in for
test_dbfn without pulling in half of Exim.

So adjust the test_dbfn target to rebuild store.o in COMPILE_UTILITY
mode and link against that variant, then remove the custom-built store.o
after the executable has been linked.

(cherry picked from commit 92e840383faa41c28f4ef099ee5fe0b6b18c2738)
Signed-off-by: Phil Pennock <pdp@exim.org>
src/OS/Makefile-Base