py_ext/PythonFileCTNMixin.py
changeset 1474 28e9d479aa65
parent 1473 23045c351012
child 1475 de4ee16f7c6c
equal deleted inserted replaced
1473:23045c351012 1474:28e9d479aa65
   212         Gen_PyCfile_path = os.path.join(buildpath, "PyCFile_%s.c"%location_str)
   212         Gen_PyCfile_path = os.path.join(buildpath, "PyCFile_%s.c"%location_str)
   213         pycfile = open(Gen_PyCfile_path,'w')
   213         pycfile = open(Gen_PyCfile_path,'w')
   214         pycfile.write(PyCFileContent)
   214         pycfile.write(PyCFileContent)
   215         pycfile.close()
   215         pycfile.close()
   216         
   216         
   217         matiec_flags = '"-l -I%s"'%os.path.abspath(
   217         matiec_flags = '"-l -p -I%s"'%os.path.abspath(
   218             self.GetCTRoot().GetIECLibPath())
   218             self.GetCTRoot().GetIECLibPath())
   219         
   219         
   220         return ([(Gen_PyCfile_path, matiec_flags)],
   220         return ([(Gen_PyCfile_path, matiec_flags)],
   221                 "",
   221                 "",
   222                 True,
   222                 True,