Skip to content

Commit 724ca1e

Browse files
committed
Make the hostfxr glob less specific
1 parent 65344a6 commit 724ca1e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clr_loader/ffi/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ def load_coreclr(runtime):
2323

2424
def load_hostfxr(dotnet_root):
2525
hostfxr_name = _get_dll_name("hostfxr")
26-
hostfxr_path = os.path.join(dotnet_root, "host", "fxr", "3.*", hostfxr_name)
26+
hostfxr_path = os.path.join(dotnet_root, "host", "fxr", "?.*", hostfxr_name)
2727

2828
for hostfxr_path in reversed(sorted(glob.glob(hostfxr_path))):
2929
try:

0 commit comments

Comments
 (0)