plugins/c_ext/c_ext.py
changeset 420 c093ec48f2fd
parent 419 1cdae505be9e
parent 418 01f6bfc01251
child 427 7ac746c07ff2
equal deleted inserted replaced
419:1cdae505be9e 420:c093ec48f2fd
   339         Gen_Cfile_path = os.path.join(buildpath, "CFile_%s.c"%location_str)
   339         Gen_Cfile_path = os.path.join(buildpath, "CFile_%s.c"%location_str)
   340         cfile = open(Gen_Cfile_path,'w')
   340         cfile = open(Gen_Cfile_path,'w')
   341         cfile.write(text)
   341         cfile.write(text)
   342         cfile.close()
   342         cfile.close()
   343         
   343         
   344         matiec_flags = " -I%s"%os.path.abspath(self.GetPlugRoot().GetIECLibPath())
   344         matiec_flags = '"-I%s"'%os.path.abspath(self.GetPlugRoot().GetIECLibPath())
   345         
   345         
   346         return [(Gen_Cfile_path, str(self.CExtension.getCFLAGS() + matiec_flags))],str(self.CExtension.getLDFLAGS()),True
   346         return [(Gen_Cfile_path, str(self.CExtension.getCFLAGS() + matiec_flags))],str(self.CExtension.getLDFLAGS()),True
   347         
   347         
   348 #-------------------------------------------------------------------------------
   348 #-------------------------------------------------------------------------------
   349 #                      Current Buffering Management Functions
   349 #                      Current Buffering Management Functions