summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNobuyoshi Nakada <[email protected]>2023-12-12 09:39:13 +0900
committerNobuyoshi Nakada <[email protected]>2023-12-12 09:39:13 +0900
commit38348502b5429703e418cf4634e405ce77fd4bbc (patch)
treefe8149fa3318700dafc12581ef850414a23bffab
parent4eca329d29a98209df401aa97d55b9fb8684ba1b (diff)
[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 DLEXT2 181a3a2af5df88d145b73a060d51fe437c8c4ad4 and b76ad15ed0da636161de0243c547ee1e6fc95681. Instead, use macOS as an example, which uses ".bundle".
-rw-r--r--load.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/load.c b/load.c
index 3d37948def..4c95e7379b 100644
--- a/load.c
+++ b/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