-
-
Notifications
You must be signed in to change notification settings - Fork 34.2k
build: do not define ZLIB_CONST #9122
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
src/inspector_agent.cc
Outdated
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.
No space before the * please.
|
@evantorrie can you test this change out? |
This define is not available in zlib prior to version 1.2.5.2. See nodejs#9110 for details. Workaround the build breakage reported by casting away const in src/inspector_agent.cc instead.
c4e7c71 to
efacdb4
Compare
|
@rvagg this may need to be included in this weeks v6 release |
bnoordhuis
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.
|
Yes, I tested this patch out and it works for me (RHEL 6.8, --shared-zlib). |
|
landed @ a9f4fc9 |
This define is not available in zlib prior to version 1.2.5.2. See #9110 for details. Workaround the build breakage reported by casting away const in src/inspector_agent.cc instead. PR-URL: #9122 Reviewed-By: Ben Noordhuis <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Rod Vagg <[email protected]>
|
ack, this'll go in to 6.9.0 |
This define is not available in zlib prior to version 1.2.5.2. See #9110 for details. Workaround the build breakage reported by casting away const in src/inspector_agent.cc instead. PR-URL: #9122 Reviewed-By: Ben Noordhuis <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Rod Vagg <[email protected]>
|
@addaleax assuming this also does not need to land in v4.x |
Checklist
make -j8 test(UNIX), orvcbuild test nosign(Windows) passesAffected core subsystem(s)
build
Description of change
This define is not available in zlib prior to version 1.2.5.2. See
#9110 for details. Workaround the build breakage reported by
casting away const in src/inspector_agent.cc instead.