Skip to content

Commit 44c95f1

Browse files
committed
[Windows] Search for Dlls in Bundles Properly
On Windows, dlls don't begin with "lib" so the tests should be searching for "MyDLL.dll", not "libMyDLL.dll"
1 parent 5e58226 commit 44c95f1

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

TestFoundation/TestBundle.swift

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,11 @@ class BundlePlayground {
9898
case .executable:
9999
return ""
100100
case .library:
101+
#if os(Windows)
102+
return ""
103+
#else
101104
return "lib"
105+
#endif
102106
}
103107
}
104108
}

0 commit comments

Comments
 (0)