added CPATH, C_INCLUDE_PATH and LD_LIBRARY_PATH

This commit is contained in:
Andrew Aladjev
2013-02-19 14:47:36 +03:00
parent 0db7f616ad
commit 0ad857c80e
3 changed files with 21 additions and 0 deletions

1
tcc.c
View File

@ -252,6 +252,7 @@ int main(int argc, char **argv)
s->output_type = TCC_OUTPUT_EXE;
optind = tcc_parse_args(s, argc - 1, argv + 1);
tcc_set_environment(s);
if (optind == 0) {
help();