Skip to content

Make quickjs-libc symbols visible at link time#1154

Merged
bnoordhuis merged 1 commit intoquickjs-ng:masterfrom
bnoordhuis:fix1152
Sep 15, 2025
Merged

Make quickjs-libc symbols visible at link time#1154
bnoordhuis merged 1 commit intoquickjs-ng:masterfrom
bnoordhuis:fix1152

Conversation

@bnoordhuis
Copy link
Copy Markdown
Contributor

Annotate functions in quickjs-libc.h with the proper visibility like we do in quickjs.h, otherwise they are hidden (and produce missing symbol errors) when trying to link against the shared library.

Fixes: #1152


I considered adding a CI buildbot but we're already kind of top-heavy and I couldn't find a suitable existing one to repurpose.

Annotate functions in quickjs-libc.h with the proper visibility like we
do in quickjs.h, otherwise they are hidden (and produce missing symbol
errors) when trying to link against the shared library.

Fixes: quickjs-ng#1152
@kapouer
Copy link
Copy Markdown

kapouer commented Sep 15, 2025

Thanks, I'm trying to replace quickjs in debian by quickjs-ng, ideally as a shared library. That will give some asynchronous CI ;)

@bnoordhuis bnoordhuis merged commit 632601d into quickjs-ng:master Sep 15, 2025
127 checks passed
@bnoordhuis bnoordhuis deleted the fix1152 branch September 15, 2025 13:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

3 participants