Skip to content

Commit

Permalink
Allow cexts to build under OpenJDK on OS X, where os.arch == 'amd64'
Browse files Browse the repository at this point in the history
  • Loading branch information
headius committed Mar 15, 2012
1 parent 0bc28c2 commit 32b2db6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/org/jruby/ext/rbconfig/RbConfigLibrary.java
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,7 @@ public static String getOSName() {
public static String getArchitecture() {
String architecture = Platform.ARCH;
if (architecture == null) architecture = "unknown";
if (architecture.equals("amd64")) architecture = "x86_64";

return architecture;
}
Expand Down

0 comments on commit 32b2db6

Please sign in to comment.