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:40:53 +0000 (19:40 -0500)
commit92e840383faa41c28f4ef099ee5fe0b6b18c2738
treec0512bf159b84978140b49af0b37367f6f11a388
parent2546388c27720eaaada4bb63574ba1f32e6ddf4e
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.
src/OS/Makefile-Base