Skip to content

Commit e5e6e77

Browse files
theotherjimmy0xc0170
authored andcommitted
Use correct names for library files
1 parent f0977ca commit e5e6e77

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tools/export/makefile/__init__.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,8 @@ def generate(self):
4444
self.resources.c_sources +
4545
self.resources.cpp_sources]
4646

47-
libraries = [splitext(lib)[0][3:] for lib in self.resources.libraries]
47+
libraries = [splitext(basename(lib))[0][3:] for lib
48+
in self.resources.libraries]
4849

4950
ctx = {
5051
'name': self.project_name,

0 commit comments

Comments
 (0)