diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2012-12-03 11:54:30 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2012-12-03 11:54:30 +0200 |
commit | 52a7a6bcdc93d9776a4f56ac79185b9bc284db88 (patch) | |
tree | 81ecb3a60484725064d410eaf952f3a47b86056d /odb/option-functions.cxx | |
parent | 77d6727eddc64a95ccbdf87984e22270fce61b35 (diff) |
Make --export-symbol and --extern-symbole values database-prefixable
Diffstat (limited to 'odb/option-functions.cxx')
-rw-r--r-- | odb/option-functions.cxx | 8 |
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. // { |