diff options
author | Lars Kanis <lars@greiz-reinsdorf.de> | 2020-12-14 09:48:28 +0100 |
---|---|---|
committer | Lars Kanis <lars@greiz-reinsdorf.de> | 2020-12-14 09:48:28 +0100 |
commit | 3f516996c5e7d9ac5a9e323ea3f7f7b73b8ded63 (patch) | |
tree | 1f9069b2a5572fed364ce81a0a4c6af90bf6d287 | |
parent | 2b44904f8323dcad3eaa978c1fd2b5298bd04663 (diff) | |
download | ffi-3f516996c5e7d9ac5a9e323ea3f7f7b73b8ded63.tar.gz |
Fix i386 platform regex
-rw-r--r-- | lib/ffi/platform.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ffi/platform.rb b/lib/ffi/platform.rb index 821412b..0f0639e 100644 --- a/lib/ffi/platform.rb +++ b/lib/ffi/platform.rb @@ -63,7 +63,7 @@ module FFI ARCH = case CPU.downcase when /amd64|x86_64|x64/ "x86_64" - when /i?86|x86|i86pc/ + when /i\d86|x86|i86pc/ "i386" when /ppc64|powerpc64/ "powerpc64" |