Finally, if your system doesn't support dynamic linking, or if you
have an extension module that you want to have statically linked into
Ruby itself, edit the file
ext/Setup
in
the distribution and add your directory to the list of extensions in
the file, then rebuild Ruby.
The extensions listed in
Setup
will be
statically linked into the Ruby executable. If you want to disable
any dynamic linking, and link all extensions statically, edit
ext/Setup
to contain the following option.