Open GoogleCodeExporter opened 9 years ago
The suggested solution "return _FixPaths(unique_libraries_list)" doesn't work
well if you reference system libraries (e.g., '-lOpenGL32.lib') because it
tries prepends relative path info to the system lib (e.g., 'can't find
../OpenGL32.lib'). What I've done to address this is _FixPath on anything that
doesn't start with '-l'
#if library starts with -l strip it and make no adjustment, otherwise adjust
the path
if re.match('-l', entry):
library = re.sub('^\-l', '', entry)
else:
library = re.sub('^\-l', '', _FixPath(entry))
Original comment by mark.mac...@gmail.com
on 18 Mar 2014 at 11:53
Original issue reported on code.google.com by
awishn...@izotope.com
on 14 Nov 2012 at 8:19