Commits

Satish Balay committed d59df77

configure: parsing in checkCLibraries() breaks when stdout has missing new line.
So stdout ='.. -lrt',stderr='icc ver' appars as '.. -lrticc ver' with the error
ld: cannot find -lrticc

  • Participants
  • Parent commits d81f97e

Comments (0)

Files changed (1)

config/BuildSystem/config/base.py

       if os.path.isfile(self.linkerObj):os.remove(self.linkerObj)
       pdbfile = os.path.splitext(self.linkerObj)[0]+'.pdb'
       if os.path.isfile(pdbfile): os.remove(pdbfile)
-    return (out+err, ret)
+    return (out+'\n'+err, ret)
 
   def checkLink(self, includes = '', body = '', cleanup = 1, codeBegin = None, codeEnd = None, shared = 0, linkLanguage=None):
     (output, returnCode) = self.outputLink(includes, body, cleanup, codeBegin, codeEnd, shared, linkLanguage)