-
-
Notifications
You must be signed in to change notification settings - Fork 34.2k
build: list uvwasi as dependency #59524
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
Conversation
|
Review requested:
|
That's odd because we don't have to add other dependencies like openssl, c-ares, etc, in this place when using Lines 212 to 214 in 3a5c262
but conditional on node_shared_uvwasi=="false". If building with --shared-uvwasi you should either have pkg_config set up to point to the includes/libraries for the shared uvwasi or manually configure those via arguments to configure.py.
|
That's what I am doing in https://github.com/aduh95/node/actions/runs/17038332094/job/48295920942, as you can see Applying this patch fixes the build – FWIW I also tried adding it as a dependency of
I definitely agree that this is odd, and I can't explain why I don't need it for the other shared dependency I'm using. I can confirm uvwasi is the only one that need special treatment. |
|
For Lines 1747 to 1761 in 3f51cb6
They are not listed as a gyp dependency. If the shared library path and include dir are not specified when running |
legendecas
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
See #59524 (comment). I think this is not the correct fix.
Applying this patch isn't going to do what is intended -- it's going to build the in-tree uvwasi and link to that instead of the shared library. |
|
Closing in favor of nodejs/uvwasi#308. Thanks for the help! |
Without this change, I'm unable to build
nodewith--shared-uvwasi.