From 2fe70fbeb57cd457b913c376c1b987522c0c5d58 Mon Sep 17 00:00:00 2001
From: Boris Kolpackov <boris@codesynthesis.com>
Date: Mon, 3 Jun 2013 13:22:37 +0200
Subject: Use database name in options and driver files (build part)

This way we will be able to have several databases configured at the
same time, which is needed for multi-database support testing.
---
 c++11/makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'c++11')

diff --git a/c++11/makefile b/c++11/makefile
index 8bde7f8..a68032d 100644
--- a/c++11/makefile
+++ b/c++11/makefile
@@ -97,7 +97,7 @@ $(dist):
 $(test): header := $(odb_hdr)
 $(test): $(driver)
 	$(call schema)
-	$(call message,test $<,$< --options-file $(dcf_root)/db.options)
+	$(call message,test $<,$< --options-file $(dcf_root)/$(db_id).options)
 
 # Clean.
 #
-- 
cgit v1.1