Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ability to customise Node build options #55

Open
bmaupin opened this issue Jun 6, 2024 · 1 comment
Open

Ability to customise Node build options #55

bmaupin opened this issue Jun 6, 2024 · 1 comment

Comments

@bmaupin
Copy link

bmaupin commented Jun 6, 2024

Hi, this project looks great! I've been using https://github.com/nexe/nexe and one of the things I like about that project is the ability to pass custom options to the configure command when building Node. For example, newer versions of Node can be built with a small ICU to reduce the size of the binary a bit (e.g. ./configure --with-intl=small-icu) or even without Intl support at all.

Custom parameters can also be passed to make (e.g. --make=-j$(nproc)).

Is that possible with js2bin?

Thanks!

@ledbit
Copy link
Collaborator

ledbit commented Nov 28, 2024

Unfortunately no, but if you'd like to put up a PR we'd be happy to consider it. The relevant code can be found here My recommendation would be to populate those arrays from env vars.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants