Skip to content

Linux shared library footprint: selective linking or stripping unused native features? #25

Closed

Description

@lijy91

Context

After upgrading Butterfly from window_manager 0.5.2 to 0.6.0, the Linux x86_64 release archive grew by approximately 0.72 MB.

Size comparison

  • New libcnativeapi.so adds ~2.66 MB uncompressed.
  • Removed window_manager / screen_retriever native libraries totalled only ~87 KB.

CI references:

Questions

  1. Is this footprint expected for the current native build?
  2. Is there a supported way to include only window-management components, or to strip unused native functionality, so apps can keep the new API benefits while limiting download size?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions