Skip to content

Add 'static' feature for netcdf static linking#9

Merged
JoshCu merged 1 commit into
mainfrom
static
Mar 11, 2026
Merged

Add 'static' feature for netcdf static linking#9
JoshCu merged 1 commit into
mainfrom
static

Conversation

@JoshCu

@JoshCu JoshCu commented Mar 11, 2026

Copy link
Copy Markdown
Owner

Summary

  • Adds a static cargo feature that enables netcdf/static, allowing builds without the system libnetcdf-dev package
  • Not included in default features, so existing builds are unaffected

Usage

cargo build --features static

Test plan

  • cargo build works as before (no regression)
  • cargo build --features static builds successfully without system libnetcdf

🤖 Generated with Claude Code

Enables building without the system libnetcdf-dev package by
passing through the netcdf/static feature flag.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@JoshCu
JoshCu merged commit 2871f83 into main Mar 11, 2026
1 check passed
@JoshCu
JoshCu deleted the static branch March 11, 2026 17:58
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.

1 participant