merge
authormjsousa
Wed, 21 Oct 2015 15:00:32 +0100
changeset 1475 de4ee16f7c6c
parent 1474 28e9d479aa65 (diff)
parent 1468 7df108e8cb18 (current diff)
child 1476 49f1763a5613
child 1909 bb883e063175
merge
py_ext/PythonFileCTNMixin.py
tests/wxGlade/HMIFrame@wxglade_hmi/py_ext.xml
--- a/c_ext/c_ext.py	Fri Jun 19 23:36:35 2015 +0200
+++ b/c_ext/c_ext.py	Wed Oct 21 15:00:32 2015 +0100
@@ -99,7 +99,7 @@
         cfile.write(text)
         cfile.close()
         
-        matiec_flags = '"-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	Fri Jun 19 23:36:35 2015 +0200
+++ b/py_ext/PythonFileCTNMixin.py	Wed Oct 21 15:00:32 2015 +0100
@@ -258,7 +258,7 @@
         pycfile.write(PyCFileContent)
         pycfile.close()
 
-        matiec_flags = '"-I%s"'%os.path.abspath(
+        matiec_flags = '"-l -p -I%s"'%os.path.abspath(
             self.GetCTRoot().GetIECLibPath())
 
         return ([(Gen_PyCfile_path, matiec_flags)],