aboutsummaryrefslogtreecommitdiff
path: root/odb/option-functions.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'odb/option-functions.cxx')
-rw-r--r--odb/option-functions.cxx8
1 files changed, 8 insertions, 0 deletions
diff --git a/odb/option-functions.cxx b/odb/option-functions.cxx
index 075e8ab..179967e 100644
--- a/odb/option-functions.cxx
+++ b/odb/option-functions.cxx
@@ -53,6 +53,14 @@ process_options (options& o)
if (o.schema_name ().count (db) == 0)
o.schema_name ()[db] = "";
+ // Set default --{export,extern}-symbol values.
+ //
+ if (o.export_symbol ().count (db) == 0)
+ o.export_symbol ()[db] = "";
+
+ if (o.extern_symbol ().count (db) == 0)
+ o.extern_symbol ()[db] = "";
+
// Set default --*--file-suffix values.
//
{