Skip to content

Commit

Permalink
x32 build shouldnt contain a prefix
Browse files Browse the repository at this point in the history
  • Loading branch information
ahorek authored and headius committed Feb 16, 2020
1 parent eeb3f6f commit 843067e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -334,7 +334,7 @@ public void load(Ruby runtime, boolean wrap) {
setConfig(context, CONFIG, "localstatedir", newFile(normalizedHome, "var").getPath());
setConfig(context, CONFIG, "DLEXT", "jar");
if (Platform.IS_WINDOWS) {
setConfig(context, CONFIG, "RUBY_SO_NAME", ((arch.equals("i386")) ? "x32" : "x64") + "-msvcrt-" + jrubyScript());
setConfig(context, CONFIG, "RUBY_SO_NAME", ((arch.equals("x86_64")) ? "x64-" : "") + "msvcrt-" + jrubyScript());
} else {
setConfig(context, CONFIG, "RUBY_SO_NAME", "ruby");
}
Expand Down

0 comments on commit 843067e

Please sign in to comment.