Skip to content

Commit f60fba0

Browse files
committed
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.
1 parent 4a6c7f8 commit f60fba0

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

README.md

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -92,12 +92,13 @@ in the mail body (not subject) to the address [ruby-talk-request@ruby-lang.org].
9292

9393
4. Edit `include/ruby/defines.h` if you need. Usually this step will not be needed.
9494

95-
5. Remove comment mark(`#`) before the module names from `ext/Setup` (or add
96-
module names if not present), if you want to link modules statically.
95+
5. Optional: Remove comment mark(`#`) before the module names from `ext/Setup`.
9796

98-
If you don't want to compile non static extension modules (probably on
99-
architectures which do not allow dynamic loading), remove comment mark
100-
from the line "`#option nodynamic`" in `ext/Setup`.
97+
This step is only necessary if you want to link modules statically.
98+
99+
If you don't want to compile dynamic extensions (probably on architectures
100+
which do not allow dynamic loading), remove comment mark from the line
101+
"`#option nodynamic`" in `ext/Setup`.
101102

102103
Usually this step will not be needed.
103104

0 commit comments

Comments
 (0)