Skip to content

[nanvix] Makefile.nanvix: drop dead LIBSSL/LIBCRYPTO/LIBZ/LIBSQLITE3 vars#745

Open
esaurez wants to merge 1 commit into
feat/wave5-pr-c-unbundle-group-afrom
split/cleanup-makefile-dead-libvars
Open

[nanvix] Makefile.nanvix: drop dead LIBSSL/LIBCRYPTO/LIBZ/LIBSQLITE3 vars#745
esaurez wants to merge 1 commit into
feat/wave5-pr-c-unbundle-group-afrom
split/cleanup-makefile-dead-libvars

Conversation

@esaurez

@esaurez esaurez commented Jun 17, 2026

Copy link
Copy Markdown

Removes the unused LIBSSL / LIBCRYPTO / LIBZ / LIBSQLITE3 make variables from Makefile.nanvix. These per-library .a path variables are no longer referenced anywhere: the build links libssl / libcrypto / libz / libsqlite3 via -l<name> against the .so siblings in $(SYSROOT)/lib/. Dropping the dead definitions removes a footgun -- referencing one of them in a future LIBS rewrite would silently reintroduce static linking of a library that is meant to be loaded as a shared object.

Validated with ./z lint.

Dependencies

Must merge after nanvix/cpython#739, the base it branches from: the four variables only become unused once _ssl / _hashlib / zlib / _sqlite3 are moved to DT_NEEDED .so (completed by #739), so removing them earlier would break the link. Independent of the three sibling cleanups that share the same base -- #746 (drop dead config.py helpers), #747 (split setup_local sections), and #748 (enable inet_pton, which also edits Makefile.nanvix but a disjoint region) -- so the four can merge in any order.

After Wave 5's Group-A unbundling these per-library .a path
variables are no longer referenced anywhere -- the build now picks
up libssl / libcrypto / libz / libsqlite3 via -l<name> against the
.so siblings in $(SYSROOT)/lib/. Removing the unused definitions
makes it harder to accidentally reintroduce static linking by
referencing one of them in a future LIBS rewrite.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
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