fix: forward lean options to workers

This commit is contained in:
larsk21 2022-05-21 20:29:20 +02:00 committed by Sebastian Ullrich
parent 393fdef972
commit b708eaec2c

View file

@ -542,6 +542,7 @@ extern "C" LEAN_EXPORT int lean_main(int argc, char ** argv) {
try {
check_optarg("D");
opts = set_config_option(opts, optarg);
forwarded_args.push_back(string_ref("-D" + std::string(optarg)));
} catch (lean::exception & ex) {
std::cerr << ex.what() << std::endl;
return 1;