Ticket #442: parrot_add_path.patch
File parrot_add_path.patch, 1.3 KB (added by wayland, 13 years ago) |
---|
-
parrot/compilers/imcc/main.c
217 217 " -V --version\n" 218 218 " -I add path to include search\n" 219 219 " -L add path to library search\n" 220 " -S add path to system library search\n" 220 221 " <Run core options>\n" 221 222 " -R --runcore CORE\n" 222 223 " --bounds-checks|--slow-core\n" … … 300 301 { 'L', 'L', OPTION_required_FLAG, { NULL } }, 301 302 { 'O', 'O', OPTION_optional_FLAG, { "--optimize" } }, 302 303 { 'R', 'R', OPTION_required_FLAG, { "--runcore" } }, 304 { 'S', 'S', OPTION_required_FLAG, { NULL } }, 303 305 { 'V', 'V', (OPTION_flags)0, { "--version" } }, 304 306 { '\0', OPT_DESTROY_FLAG, (OPTION_flags)0, 305 307 { "--leak-test", "--destroy-at-end" } }, … … 539 541 Parrot_add_library_path(interp, opt.opt_arg, 540 542 PARROT_LIB_PATH_LIBRARY); 541 543 break; 544 case 'S': 545 Parrot_add_library_path(interp, opt.opt_arg, 546 PARROT_LIB_PATH_DYNEXT); 547 break; 542 548 default: 543 549 Parrot_ex_throw_from_c_args(interp, NULL, 1, 544 550 "main: Invalid flag '%s' used.\n\nhelp: parrot -h\n",