Commits

raineszm committed ac4cd7d

Added the SysWOW64 directory to the library search path on windows, per bug #9

  • Participants
  • Parent commits 3ea8945

Comments (0)

Files changed (1)

lib/rubypython/interpreter.rb

       @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.