mirror of
https://github.com/apache/nuttx.git
synced 2026-05-22 22:20:01 +08:00
tools/configure.c: Fix backward interpretation of options, -l was selecting Windows and -w was selecting Linux. This is part of SourceForege Ticket #39
This commit is contained in:
+4
-4
@@ -178,13 +178,13 @@ static void parse_args(int argc, char **argv)
|
||||
break;
|
||||
|
||||
case 'w' :
|
||||
g_delim = '/';
|
||||
g_winpaths = true;
|
||||
g_delim = '\\';
|
||||
g_winpaths = false;
|
||||
break;
|
||||
|
||||
case 'l' :
|
||||
g_delim = '\\';
|
||||
g_winpaths = false;
|
||||
g_delim = '/';
|
||||
g_winpaths = true;
|
||||
break;
|
||||
|
||||
case 'h' :
|
||||
|
||||
Reference in New Issue
Block a user