We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 50b83c8 + 06384be commit 21918f4Copy full SHA for 21918f4
lib/Immediate/Immediate.cpp
@@ -89,8 +89,10 @@ void *swift::immediate::loadSwiftRuntime(ArrayRef<std::string>
89
runtimeLibPaths) {
90
#if defined(_WIN32)
91
return loadRuntimeLib("swiftCore" LTDL_SHLIB_EXT, runtimeLibPaths);
92
-#else
+#elif (defined(__linux__) || defined(_WIN64) || defined(__FreeBSD__))
93
return loadRuntimeLib("libswiftCore" LTDL_SHLIB_EXT, runtimeLibPaths);
94
+#else
95
+ return loadRuntimeLib("libswiftCore" LTDL_SHLIB_EXT, {"/usr/lib/swift"});
96
#endif
97
}
98
0 commit comments