diff -r 3b3f7f5a8e40 -r 01f6bfc01251 plugins/c_ext/c_ext.py --- a/plugins/c_ext/c_ext.py Fri Oct 09 17:52:00 2009 +0200 +++ b/plugins/c_ext/c_ext.py Thu Oct 15 17:39:26 2009 +0200 @@ -341,10 +341,7 @@ cfile.write(text) cfile.close() - if wx.Platform == '__WXMSW__': - matiec_flags = " -I../../matiec/lib" - else: - matiec_flags = " -I../matiec/lib" + matiec_flags = '"-I%s"'%os.path.abspath(self.GetPlugRoot().GetIECLibPath()) return [(Gen_Cfile_path, str(self.CExtension.getCFLAGS() + matiec_flags))],str(self.CExtension.getLDFLAGS()),True