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.
This commit is contained in:
Zachary Scott 2021-04-11 08:37:39 +09:00
parent 4a6c7f8696
commit f60fba03bf

View File

@ -92,12 +92,13 @@ in the mail body (not subject) to the address [ruby-talk-request@ruby-lang.org].
4. Edit `include/ruby/defines.h` if you need. Usually this step will not be needed. 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 5. Optional: Remove comment mark(`#`) before the module names from `ext/Setup`.
module names if not present), if you want to link modules statically.
If you don't want to compile non static extension modules (probably on This step is only necessary if you want to link modules statically.
architectures which do not allow dynamic loading), remove comment mark
from the line "`#option nodynamic`" in `ext/Setup`. 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. Usually this step will not be needed.