Skip to content

Commit

Permalink
Merge pull request #64 from Berstanio/fix/fix-ios-builds
Browse files Browse the repository at this point in the history
Don't add "." suffix to iOS shared lib name
  • Loading branch information
PokeMMO committed Apr 14, 2024
2 parents 8a9004e + 4a115f1 commit 1ea7e74
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -128,8 +128,10 @@ public String getSharedLibFilename (String sharedLibName) {
if (libName != null && !libName.isEmpty())
return libName;

String suffix = os.getLibExtension().isEmpty() ? "" : "." + os.getLibExtension();

// generate shared lib prefix and suffix, determine jni platform headers directory
return os.getLibPrefix() + sharedLibName + architecture.toSuffix() + bitness.toSuffix() + "." + os.getLibExtension();
return os.getLibPrefix() + sharedLibName + architecture.toSuffix() + bitness.toSuffix() + suffix;
}

public String getTargetFolder () {
Expand Down

0 comments on commit 1ea7e74

Please sign in to comment.