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

Could you please have an option to build the shared library ? #195

Closed
yurivict opened this issue Oct 23, 2023 · 3 comments
Closed

Could you please have an option to build the shared library ? #195

yurivict opened this issue Oct 23, 2023 · 3 comments

Comments

@yurivict
Copy link

I am the maintainer of the FreeBSD quickjs port.

Static libraries are difficult to manage in the context of ports.
They make it difficult to track dependencies.

We strongly prefer shared libraries.

Could you please add a build-time option to build shared libraries?

Thank you,
Yuri

@andy0130tw
Copy link

I have migrated (some of) Make recipes with Meson build system that may allow easier customizations thanks to Meson’s deeper integration to C compilers. My build script is hardcoded to build statically as a proof of concept, but shared library builds are seemingly possible.

https://www.freelists.org/post/quickjs-devel/Build-QuickJS-with-Meson-build-system

@paulocoghi
Copy link

If feedback from Bellard is needed, perhaps posting to the quickjs mailing list [1] would help.

[1] https://www.freelists.org/list/quickjs-devel

@bellard
Copy link
Owner

bellard commented Dec 5, 2023

I prefer to keep a static library only to avoid versioning issues.

@bellard bellard closed this as completed Dec 13, 2023
TooTallNate pushed a commit to TooTallNate/quickjs that referenced this issue Dec 18, 2023
JSValueConst was only used for the now removed CONFIG_CHECK_JSVALUE
build mode. It is kept around as an alias for JSValue in quickjs.h to
avoid breaking everyone's source builds but remove it everywhere else.
GerHobbelt pushed a commit to GerHobbelt/quickjs that referenced this issue Sep 14, 2024
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

4 participants