ide/Project: I think the 'else if' was actually meant to be there, but the if/else...
authorJerome St-Louis <jerome@ecere.com>
Thu, 12 Apr 2012 18:17:57 +0000 (14:17 -0400)
committerJerome St-Louis <jerome@ecere.com>
Thu, 12 Apr 2012 18:17:57 +0000 (14:17 -0400)
ide/src/project/Project.ec

index 93cf548..ac8b088 100644 (file)
@@ -1935,10 +1935,10 @@ private:
          {
             f.Printf("ifneq \"$(TARGET_TYPE)\" \"%s\"\n", TargetTypeToMakefileVariable(staticLibrary));
             f.Printf("LIBS +=");
-            if(options && options.libraries)
-               OutputLibraries(f, options.libraries);
             if(config && config.options && config.options.libraries)
                OutputLibraries(f, config.options.libraries);
+            else if(options && options.libraries)
+               OutputLibraries(f, options.libraries);
             f.Printf("\n");
             f.Printf("endif\n");
             f.Printf("\n");