py_ext/PythonFileCTNMixin.py
changeset 1473 23045c351012
parent 1330 96b242e4c59d
child 1474 28e9d479aa65
equal deleted inserted replaced
1472:144cf3af992c 1473:23045c351012
   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 = '"-I%s"'%os.path.abspath(
   217         matiec_flags = '"-l -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,