Reverse order of relativizing paths and unixifing paths

'cause windows silly path separator is the same as the escape character
pull/2106/head
Jimmy Brisson 2016-07-06 13:54:33 -05:00
parent 3cf8bfbfb7
commit 3697dedb78
1 changed files with 1 additions and 1 deletions

View File

@ -132,9 +132,9 @@ class GccArm(Exporter):
def generate(self):
# "make" wants Unix paths
self.resources.win_to_unix()
if self.sources_relative:
self.resources.relative_to(self.prj_paths[0])
self.resources.win_to_unix()
to_be_compiled = []
for r_type in ['s_sources', 'c_sources', 'cpp_sources']: