diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2011-04-27 12:31:35 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2011-04-27 12:31:35 +0200 |
commit | cfcf639af319cc764096ad6b487fd71930f98edb (patch) | |
tree | 8a573d78c762f403100e2705bdfdcafa4c666039 /odb | |
parent | e572df74c40c67f3e9995781a3c8da245d890cff (diff) |
Pass through -framework option (Mac OS X)1.4.0
Diffstat (limited to 'odb')
-rw-r--r-- | odb/odb.cxx | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/odb/odb.cxx b/odb/odb.cxx index b7c31da..63976db 100644 --- a/odb/odb.cxx +++ b/odb/odb.cxx @@ -331,6 +331,21 @@ main (int argc, char* argv[]) args.push_back (argv[i]); } } + // -framework (Mac OS X) + // + else if (a == "-framework") + { + args.push_back (a); + + if (++i == argc || argv[i][0] == '\0') + { + e << argv[0] << ": error: expected argument for the -framework " + << "option" << endl; + return 1; + } + + args.push_back (argv[i]); + } // -D // else if (n > 1 && a[0] == '-' && a[1] == 'D') |