ruby-changes:65837
From: Zachary <ko1@a...>
Date: Sun, 11 Apr 2021 08:40:42 +0900 (JST)
Subject: [ruby-changes:65837] f60fba03bf (master): Make sure to mention ext/Setup is optional
https://git.ruby-lang.org/ruby.git/commit/?id=f60fba03bf From f60fba03bf86d5639ac3ad1e1c7dbd1e3407ae11 Mon Sep 17 00:00:00 2001 From: Zachary Scott <zzakscott@g...> Date: Sun, 11 Apr 2021 08:37:39 +0900 Subject: Make sure to mention ext/Setup is optional This step confused me when trying to compile Ruby after 5 years, so it should be avoided unless you need static linking. --- README.md | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 7cf0547..3cadbad 100644 --- a/README.md +++ b/README.md @@ -92,12 +92,13 @@ in the mail body (not subject) to the address [ruby-talk-request@r...]. https://github.com/ruby/ruby/blob/trunk/README.md#L92 4. Edit `include/ruby/defines.h` if you need. Usually this step will not be needed. -5. Remove comment mark(`#`) before the module names from `ext/Setup` (or add - module names if not present), if you want to link modules statically. +5. Optional: Remove comment mark(`#`) before the module names from `ext/Setup`. - If you don't want to compile non static extension modules (probably on - architectures which do not allow dynamic loading), remove comment mark - from the line "`#option nodynamic`" in `ext/Setup`. + This step is only necessary if you want to link modules statically. + + If you don't want to compile dynamic extensions (probably on architectures + which do not allow dynamic loading), remove comment mark from the line + "`#option nodynamic`" in `ext/Setup`. Usually this step will not be needed. -- cgit v1.1 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/