]> git.sur5r.net Git - cc65/commitdiff
Fix error which slipped in in '-L' command line parameter handling. 101/head
authorChristian Groessler <chris@groessler.org>
Fri, 28 Mar 2014 21:40:32 +0000 (22:40 +0100)
committerChristian Groessler <chris@groessler.org>
Fri, 28 Mar 2014 21:40:53 +0000 (22:40 +0100)
src/ld65/main.c

index eb9cc5af19397d82b4d24607c63444e05c3ef4e9..e68ebc9f7f4f50aee7f4acc3d5d651b6ec0aa701 100644 (file)
@@ -696,7 +696,7 @@ static void ParseCommandLine(void)
                             LabelFileName = GetArg (&I, 3);
                             break;
                         default:
-                            OptLibPath (Arg, InputFiles[I].FileName);
+                            OptLibPath (Arg, GetArg (&I, 2));
                             break;
                     }
                     break;