Skip to content

Commit

Permalink
[DOC] Update description about shared library suffix
Browse files Browse the repository at this point in the history
Loading an extension library with ".dll" suffix on Windows was very
old behavior, and the suffix must be ".so" since 2004.  See commits
removing DLEXT2 181a3a2 and
b76ad15.

Instead, use macOS as an example, which uses ".bundle".
  • Loading branch information
nobu committed Dec 12, 2023
1 parent 4eca329 commit 3834850
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion load.c
Expand Up @@ -963,7 +963,7 @@ static VALUE rb_require_string_internal(VALUE fname, bool resurrect);
* found. If the file named cannot be found, a LoadError will be raised.
*
* For Ruby extensions the filename given may use ".so" or ".o". For example,
* on Windows the socket extension is "socket.dll" and
* on macOS the socket extension is "socket.bundle" and
* <code>require 'socket.so'</code> will load the socket extension.
*
* The absolute path of the loaded file is added to
Expand Down

0 comments on commit 3834850

Please sign in to comment.