Skip to content
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

Don't link shared zlib when it was built w/ superbuild #1125

Merged
merged 1 commit into from
Feb 11, 2019

Conversation

ihnorton
Copy link
Member

@ihnorton ihnorton commented Feb 11, 2019

The built-in module does not support zlibstatic, so it finds
zlib.lib/dll on the second pass (instead of zlibstatic). I think we should avoid linking zlib.dll
when building with superbuild, preferring zlibstatic. The binary releases do not link zlib.dll, and avoiding the linkage simplifies binding distribution and reduces risk of dll conflict (esp on windows).

The build-in module does not support zlibstatic, so it finds
zlib.lib/dll on the second pass, which we do not want to link
when building with superbuild (e.g. for binding libraries).
@ihnorton ihnorton changed the title Don't link shared zlib when it built w/ superbuild Don't link shared zlib when it was built w/ superbuild Feb 11, 2019
Copy link
Contributor

@tdenniston tdenniston left a comment

Choose a reason for hiding this comment

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

Good find, LGTM.

@tdenniston tdenniston added this to the 1.5.0 milestone Feb 11, 2019
@tdenniston tdenniston merged commit b3b2966 into TileDB-Inc:master Feb 11, 2019
@ihnorton ihnorton deleted the fix_zlib_static_sb branch February 11, 2019 15:18
@ihnorton ihnorton restored the fix_zlib_static_sb branch February 11, 2019 17:07
@ihnorton ihnorton deleted the fix_zlib_static_sb branch February 19, 2019 19:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants