Skip to content

Commit 909523a

Browse files
committed
Fix finding LIBFFI_DIST when MX_OUTPUT_ROOT_INCLUDES_CONFIG==false
1 parent 50792fe commit 909523a

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

mx.graalpython/mx_graalpython.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1738,7 +1738,10 @@ def _get_output_root(projectname):
17381738
continue
17391739
for p in itertools.chain(suite.projects, suite.dists):
17401740
if p.name == suffix:
1741-
return p.get_output_root()
1741+
try:
1742+
return p.get_output_root()
1743+
except:
1744+
return p.get_output()
17421745
mx.abort("Could not find out dir for project %s" % projectname)
17431746

17441747
# We use the ordinal value of this character and add it to the version parts to

0 commit comments

Comments
 (0)