Don't treat DirEntry as a string.
This commit is contained in:
parent
5ec4638487
commit
ba8f6d442c
1 changed files with 1 additions and 1 deletions
|
@ -579,7 +579,7 @@ class Make(BuildSystem):
|
|||
if not makefile_exists() and session.exists("configure"):
|
||||
run_with_build_fixers(session, ["./configure"], fixers)
|
||||
|
||||
if not makefile_exists() and any([n.endswith('.pro') for n in session.scandir(".")]):
|
||||
if not makefile_exists() and any([n.name.endswith('.pro') for n in session.scandir(".")]):
|
||||
run_with_build_fixers(session, ["qmake"], fixers)
|
||||
|
||||
def build(self, session, resolver, fixers):
|
||||
|
|
Loading…
Add table
Reference in a new issue