diff options
Diffstat (limited to 'tools/gccld/gccld.cpp')
| -rw-r--r-- | tools/gccld/gccld.cpp | 5 | 
1 files changed, 4 insertions, 1 deletions
diff --git a/tools/gccld/gccld.cpp b/tools/gccld/gccld.cpp index a53383cfb1..1adf08e4c9 100644 --- a/tools/gccld/gccld.cpp +++ b/tools/gccld/gccld.cpp @@ -234,7 +234,10 @@ int main(int argc, char **argv, char **envp) {    // Link in all of the files    if (LinkFiles(argv[0], Composite.get(), InputFilenames, Verbose))      return 1; // Error already printed -  LinkLibraries(argv[0], Composite.get(), Libraries, LibPaths, Verbose, Native); + +  if (!LinkAsLibrary) +    LinkLibraries(argv[0], Composite.get(), Libraries, LibPaths, +                  Verbose, Native);    // Link in all of the libraries next...  | 
