aboutsummaryrefslogtreecommitdiff
path: root/mysql/custom/makefile
diff options
context:
space:
mode:
Diffstat (limited to 'mysql/custom/makefile')
-rw-r--r--mysql/custom/makefile7
1 files changed, 4 insertions, 3 deletions
diff --git a/mysql/custom/makefile b/mysql/custom/makefile
index e5e3983..7700323 100644
--- a/mysql/custom/makefile
+++ b/mysql/custom/makefile
@@ -34,9 +34,10 @@ gen := $(addprefix $(out_base)/,$(genf))
$(gen): $(odb)
$(gen): odb := $(odb)
-$(gen) $(dist): export odb_options += --database mysql --generate-schema \
---generate-query --hxx-prologue '\#include "traits.hxx"' \
---hxx-prologue '\#include "query.hxx"' --table-prefix mysql_custom_
+$(gen) $(dist): export odb_options += --database mysql --default-database \
+common --generate-schema --generate-query --hxx-prologue \
+'\#include "traits.hxx"' --hxx-prologue '\#include "query.hxx"' \
+--table-prefix mysql_custom_
$(gen): cpp_options := -I$(src_base)
$(gen): $(common.l.cpp-options)