# HG changeset patch # User mjsousa # Date 1417017914 0 # Node ID 23045c351012fdd00ca12c8bd11c47b3d760c86c # Parent 144cf3af992cc8132496928beb8f50e6853d4913 Add command line option '-l' when calling matiec diff -r 144cf3af992c -r 23045c351012 ProjectController.py --- a/ProjectController.py Wed Nov 12 17:36:27 2014 +0000 +++ b/ProjectController.py Wed Nov 26 16:05:14 2014 +0000 @@ -614,7 +614,7 @@ # files are listed to stdout, and errors to stderr. status, result, err_result = ProcessLogger( self.logger, - "\"%s\" -f -I \"%s\" -T \"%s\" \"%s\""%( + "\"%s\" -f -l -I \"%s\" -T \"%s\" \"%s\""%( self.iec2c_path, self.ieclib_path, buildpath, diff -r 144cf3af992c -r 23045c351012 c_ext/c_ext.py --- a/c_ext/c_ext.py Wed Nov 12 17:36:27 2014 +0000 +++ b/c_ext/c_ext.py Wed Nov 26 16:05:14 2014 +0000 @@ -99,7 +99,7 @@ cfile.write(text) cfile.close() - matiec_flags = '"-I%s"'%os.path.abspath(self.GetCTRoot().GetIECLibPath()) + matiec_flags = '"-l -I%s"'%os.path.abspath(self.GetCTRoot().GetIECLibPath()) return [(Gen_Cfile_path, str(self.CExtension.getCFLAGS() + matiec_flags))],str(self.CExtension.getLDFLAGS()),True diff -r 144cf3af992c -r 23045c351012 py_ext/PythonFileCTNMixin.py --- a/py_ext/PythonFileCTNMixin.py Wed Nov 12 17:36:27 2014 +0000 +++ b/py_ext/PythonFileCTNMixin.py Wed Nov 26 16:05:14 2014 +0000 @@ -214,7 +214,7 @@ pycfile.write(PyCFileContent) pycfile.close() - matiec_flags = '"-I%s"'%os.path.abspath( + matiec_flags = '"-l -I%s"'%os.path.abspath( self.GetCTRoot().GetIECLibPath()) return ([(Gen_PyCfile_path, matiec_flags)],