Skip to content

Comments

zlib: Add comments regarding static/shared linking#66486

Merged
mmahut merged 1 commit intoNixOS:masterfrom
nh2:zlib-static-shared-comments
Aug 12, 2019
Merged

zlib: Add comments regarding static/shared linking#66486
mmahut merged 1 commit intoNixOS:masterfrom
nh2:zlib-static-shared-comments

Conversation

@nh2
Copy link
Contributor

@nh2 nh2 commented Aug 11, 2019

The main explanation was taken from commit:

e999def1 zlib: clean up static/shared distincion

The SHARED_MODE=1 bit was originally introduced in commit:

0bfc84b0 Cross-compile zlib for Windows
Motivation

Spending hours to figure out why the zlib build behaves different from other builds, and how.

I don't claim the current approach is good, but at least now it's explained.

Things done

The main explanation was taken from commit:

    e999def zlib: clean up static/shared distincion

The `SHARED_MODE=1` bit was originally introduced in commit:

    0bfc84b Cross-compile zlib for Windows
@nh2 nh2 force-pushed the zlib-static-shared-comments branch from fde78cc to bda6618 Compare August 11, 2019 19:32
@worldofpeace
Copy link
Contributor

@GrahamcOfBorg eval

@ofborg ofborg bot added 10.rebuild-darwin: 0 This PR does not cause any packages to rebuild on Darwin. 10.rebuild-linux: 0 This PR does not cause any packages to rebuild on Linux. labels Aug 11, 2019
@mmahut
Copy link
Member

mmahut commented Aug 12, 2019

@nh2 thank you!

@mmahut mmahut merged commit c822f39 into NixOS:master Aug 12, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

10.rebuild-darwin: 0 This PR does not cause any packages to rebuild on Darwin. 10.rebuild-linux: 0 This PR does not cause any packages to rebuild on Linux.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants