Skip to content

Conversation

addaleax
Copy link
Collaborator

No description provided.

"--shared-openssl-includes=/tmp/m/opt/include",
"--shared-openssl-libpath=/tmp/m/opt/lib",
"--shared-openssl-libname='"$MONGOSH_OPENSSL_LIBNAME"'",
"--shared-zlib"
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don’t know why specifically this is necessary, but it’s definitely related to the Node.js build system being a bit wonky around zlib support (because Node.js itself doesn’t bundle the original zlib, and instead uses an API-compatible fork from Chromium). I guess the --shared-openssl setting has some influence on the zlib build. In any case, this should be fairly unproblematic since zlib is almost universally available on Linux.

Copy link
Collaborator

@mcasimir mcasimir left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

awesome!

@addaleax addaleax merged commit eb31f12 into main May 20, 2022
@addaleax addaleax deleted the 1223-dev branch May 20, 2022 14:23
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