Skip to content

Allow to change the output directory name of the libmruby file#6290

Merged
matz merged 1 commit into
mruby:masterfrom
dearblue:libdir
Jun 9, 2024
Merged

Allow to change the output directory name of the libmruby file#6290
matz merged 1 commit into
mruby:masterfrom
dearblue:libdir

Conversation

@dearblue
Copy link
Copy Markdown
Contributor

@dearblue dearblue commented Jun 9, 2024

Add the MRuby::Build#libdir_name accessor and the MRUBY_SYSTEM_LIBDIR_NAME environment variable.

Resolved #6240


I was thinking too hard when I commented on #6240.
This PR limits the modification of lib/ to the build task (as described in the documentation).

Add the `MRuby::Build#libdir_name` accessor and the `MRUBY_SYSTEM_LIBDIR_NAME` environment variable.

Resolved mruby#6240
Comment thread doc/guides/compile.md
### Name of library directory

In some environments, the `libmruby.a` file requires a different directory name than `lib`.
You can be changed to any name by the `conf.libdir_name` accessor.
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

My suggestion for the sentence is:

This directory can be changed to a different name using the `conf.libdir_name` accessor.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for your suggestion. Unfortunately this time the merge was faster than I can check.
I am only converting from Japanese to English using DeepL. So I would be very grateful if you could improve the English text.
If you don't mind, could you please create a PR? Thank you very much.

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sure, at some point I can go over the whole text, although I am also not a native speaker...

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Okay, I will not say anything unreasonable.
Please let us know if you have any further concerns.

@matz matz merged commit b6b74b3 into mruby:master Jun 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Differentiate between lib and lib64 in the build settings.

3 participants