pull/122/head
Jussi Pakkanen 10 years ago
parent 852fb28888
commit 9c6ae66211
  1. 2
      backends.py

@ -53,6 +53,8 @@ class Backend():
for i in self.build.compilers: for i in self.build.compilers:
if i.can_compile(src): if i.can_compile(src):
return i return i
if isinstance(src, mesonlib.File):
src = src.fname
raise RuntimeError('No specified compiler can handle file ' + src) raise RuntimeError('No specified compiler can handle file ' + src)
def get_target_filename(self, target): def get_target_filename(self, target):

Loading…
Cancel
Save