Skip to content

Fix configure finding only static zlib. - #511

Merged
fbergmann merged 2 commits into
developmentfrom
fix-find-zlib
Nov 11, 2026
Merged

fbergmann merged 2 commits into
developmentfrom
fix-find-zlib

Conversation

@luciansmith

Copy link
Copy Markdown
Member

When we're building libsbml in only static mode (as roadrunner does), we don't need the shared zlib, and when we build zlib, we only build the static library. This prevents libsbml from looking for shared zlib if it's not going to be asked about shared libraries.

This is the only library like this among libsbml's dependencies.

(Actual code change written by Claude.)

When we're building libsbml in only static mode (as roadrunner does), we don't need the shared zlib, and when we build zlib, we only build the static library.  This prevents libsbml from looking for shared zlib if it's not going to be asked about shared libraries.

This is the only library like this among libsbml's dependencies.

@fbergmann fbergmann left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

looks good, thanks!

@fbergmann
fbergmann merged commit ac16635 into development Nov 11, 2026
35 checks passed
@fbergmann
fbergmann deleted the fix-find-zlib branch November 11, 2026 07:46
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