--- a/ProjectController.py Wed Nov 26 16:05:14 2014 +0000
+++ b/ProjectController.py Sat Dec 06 19:31:51 2014 +0000
@@ -614,7 +614,7 @@
# files are listed to stdout, and errors to stderr.
status, result, err_result = ProcessLogger(
self.logger,
- "\"%s\" -f -l -I \"%s\" -T \"%s\" \"%s\""%(
+ "\"%s\" -f -l -p -I \"%s\" -T \"%s\" \"%s\""%(
self.iec2c_path,
self.ieclib_path,
buildpath,
--- a/c_ext/c_ext.py Wed Nov 26 16:05:14 2014 +0000
+++ b/c_ext/c_ext.py Sat Dec 06 19:31:51 2014 +0000
@@ -99,7 +99,7 @@
cfile.write(text)
cfile.close()
- matiec_flags = '"-l -I%s"'%os.path.abspath(self.GetCTRoot().GetIECLibPath())
+ matiec_flags = '"-l -p -I%s"'%os.path.abspath(self.GetCTRoot().GetIECLibPath())
return [(Gen_Cfile_path, str(self.CExtension.getCFLAGS() + matiec_flags))],str(self.CExtension.getLDFLAGS()),True
--- a/py_ext/PythonFileCTNMixin.py Wed Nov 26 16:05:14 2014 +0000
+++ b/py_ext/PythonFileCTNMixin.py Sat Dec 06 19:31:51 2014 +0000
@@ -214,7 +214,7 @@
pycfile.write(PyCFileContent)
pycfile.close()
- matiec_flags = '"-l -I%s"'%os.path.abspath(
+ matiec_flags = '"-l -p -I%s"'%os.path.abspath(
self.GetCTRoot().GetIECLibPath())
return ([(Gen_PyCfile_path, matiec_flags)],