Skip to content

Commit d64ceca

Browse files
committed
output correct lib name for FFM
1 parent 136bd14 commit d64ceca

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Sources/JExtractSwiftLib/FFM/FFMSwift2JavaGenerator.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,7 @@ extension FFMSwift2JavaGenerator {
189189
private static final boolean INITIALIZED_LIBS = initializeLibs();
190190
static boolean initializeLibs() {
191191
System.loadLibrary(SwiftLibraries.LIB_NAME_SWIFT_CORE);
192-
System.loadLibrary(SwiftLibraries.LIB_NAME_SWIFT_JAVA_RUNTIME_SUPPORT);
192+
System.loadLibrary(SwiftLibraries.LIB_NAME_SWIFT_RUNTIME_FUNCTIONS);
193193
System.loadLibrary(LIB_NAME);
194194
return true;
195195
}
@@ -339,7 +339,7 @@ extension FFMSwift2JavaGenerator {
339339
private static SymbolLookup getSymbolLookup() {
340340
if (SwiftLibraries.AUTO_LOAD_LIBS) {
341341
System.loadLibrary(SwiftLibraries.LIB_NAME_SWIFT_CORE);
342-
System.loadLibrary(SwiftLibraries.LIB_NAME_SWIFT_JAVA_RUNTIME_SUPPORT);
342+
System.loadLibrary(SwiftLibraries.LIB_NAME_SWIFT_RUNTIME_FUNCTIONS);
343343
System.loadLibrary(LIB_NAME);
344344
}
345345

0 commit comments

Comments
 (0)