Skip to content
This repository has been archived by the owner on Jan 11, 2022. It is now read-only.

Commit

Permalink
Added the SysWOW64 directory to the library search path on windows, p…
Browse files Browse the repository at this point in the history
…er bug #9
  • Loading branch information
raineszm committed Mar 31, 2012
1 parent b9c7804 commit 189ac66
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/rubypython/interpreter.rb
Expand Up @@ -120,6 +120,8 @@ def find_python_lib
@locations << File.join("C:/WINDOWS", "System32", @libname)
@locations << File.join(sys_prefix, @libname)
@locations << File.join(sys_prefix, 'libs', @libname)
@locations << File.join(system_root, "SysWOW64", @libname)
@locations << File.join("C:/WINDOWS", "SysWOW64", @libname)
end

# Let's add alternative extensions; again, just in case.
Expand Down

0 comments on commit 189ac66

Please sign in to comment.