Skip to content

Conversation

@john-peterson
Copy link
Contributor

you can merge it when the config file is merged upstream or build from
my "shared" branch instead quickjs@shared in my account . if it is declined I will submit it to quickjs-ng instead.
complete madness to look in the dark for a library instead of making a
config file. double madness to use static libs also considering the size
of these libs. we try to reduce the packet size by keeping all files
separate instead of in a gigantic blob of code

cannot understand why this particular lib is made this way when the same
person has made ffmpeg that is famous for absolute zero tolerance for
static libs. talk about one eighty turn. it is impossible to build
ffmpeg if pkg config return a static lib

elinks ELF including JS down to one meg! (two with debugging )

when netsurf and quick JS is built shared the program file is only one
meg ! without debugging . compared to around four + two more from JS and netsurf libs. or twelve with debugging

this is for netsurf to also output shared files that are automatically
joined with the config file

export COMPONENT_TYPE=lib-shared

you can merge it when the config file is merged upstream or build from
my "shared" branch instead quickjs@shared in my account .  if it is declined I will submit it to quickjs-ng instead.
complete madness to look in the dark for a library instead of making a
config file. double madness to use static libs also considering the size
of these libs. we try to reduce the packet size by keeping all files
separate instead of in a gigantic blob of code

cannot understand why this particular lib is made this way when the same
person has made ffmpeg that is famous for absolute zero tolerance for
static libs. talk about one eighty turn. it is impossible to build
ffmpeg if pkg config return a static lib

 # elinks ELF including JS down to one meg! (two with debugging )

when netsurf and quick JS is built shared the program file is only one
meg ! without debugging . compared to around four + two more from JS and netsurf libs. or twelve with debugging

this is for netsurf to also output shared files that are automatically
joined with the config file

 export COMPONENT_TYPE=lib-shared
@rkd77
Copy link
Owner

rkd77 commented Apr 3, 2025

Thanks. Original quickjs has not .pc file. autotools are obsolete, use meson instead. In meson (or muon) build only quickjs is static, even it can be linked shared if exists shared library. If you insist on quickjs pkgconfig, you could link against Quickjs-NG. There are some incompatibilities. When I last tried to build against QuickJS-NG ELinks crashed. If you add patch for QuickJS-NG (there mustn't be fallback for QuickJS), I'll take a look.

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

Successfully merging this pull request may close these issues.

2 participants