diff options
author | Ramiro Polla <ramiro.polla@gmail.com> | 2010-09-21 22:16:42 -0300 |
---|---|---|
committer | Joel Rosdahl <joel@rosdahl.net> | 2010-09-26 22:11:45 +0200 |
commit | 419ec564c37820f4e8ddc45d331b11cb80460b73 (patch) | |
tree | df62270352b9da5820dcccd36a8c3ad541159a9b /test/main.c | |
parent | 8b73fe9ac9952bea410dafcc01ca8d03c8f78d4a (diff) | |
download | ccache-419ec564c37820f4e8ddc45d331b11cb80460b73.tar.gz |
Fix make test on win32
Diffstat (limited to 'test/main.c')
-rw-r--r-- | test/main.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/test/main.c b/test/main.c index 739d4525..82f96699 100644 --- a/test/main.c +++ b/test/main.c @@ -55,6 +55,10 @@ main(int argc, char **argv) char *testdir, *dir_before; int result; +#ifdef _WIN32 + putenv("CCACHE_DETECT_SHEBANG=1"); +#endif + while ((c = getopt_long(argc, argv, "hv", options, NULL)) != -1) { switch (c) { case 'h': |