Uh oh!
There was an error while loading. Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork 33.9k
bpo-40280: Add build target for Emscripten/node.js#30495
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
Changes from all commits
717c09b5492cf8a862bce6d88ce63ee5687aadbd05ee994903a0dd1cfaf52a4bdcaa485284265File filter
Filter by extension
Conversations
Uh oh!
There was an error while loading. Please reload this page.
Jump to
Uh oh!
There was an error while loading. Please reload this page.
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -7926,7 +7926,7 @@ PyInit__socket(void) | ||
| #ifdef IPPROTO_VRRP | ||
| PyModule_AddIntMacro(m, IPPROTO_VRRP); | ||
| #endif | ||
| #ifdef IPPROTO_SCTP | ||
| #if defined(IPPROTO_SCTP) && !defined(__EMSCRIPTEN__) | ||
Member There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I found a better way to deal with the issue. I guess you did the same mistake as I and added the This works: MemberAuthor There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I see you've opened #30538 so I'll remove this change. Member There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. #30538 does not work ... it's still running the decorator and crashing node.js | ||
| PyModule_AddIntMacro(m, IPPROTO_SCTP); | ||
| #endif | ||
| #ifdef IPPROTO_BIP | ||
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.
This is the least intrusive way I could think of to customize the link step only for building the
python.wasmexecutable...If you know of a better way, please do tell :)
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.
Meh! The ugly hacks are piling up. Maybe it's easier to not use
ac_cv_pthreadand to add-pthreadtoCFLAGSorCFLAGS_NODISTafter all?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.
Unfortunately then it would be passed to the
$(BUILDPYTHON)target, and standalone wasm doesn't support-pthread