Skip to content

Conversation

bnoordhuis
Copy link
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

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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

BUILD_SHARED_LIBS=ON QJS_BUILD_LIBC=ON fails to build
3 participants