mirror of
https://github.com/ruby/ruby.git
synced 2025-09-15 16:44:01 +02:00
[DOC] Update description about shared library suffix
Loading an extension library with ".dll" suffix on Windows was very old behavior, and the suffix must be ".so" since 2004. See commits removing DLEXT2181a3a2af5
andb76ad15ed0
. Instead, use macOS as an example, which uses ".bundle".
This commit is contained in:
parent
4eca329d29
commit
38348502b5
1 changed files with 1 additions and 1 deletions
2
load.c
2
load.c
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue