Skip to content

Add support for statically linking gtk4 libraries #2087

Description

@Hammerklavier-cn

GTK is definitely a spendid cross-platform GUI with beautiful widgets and components. Sadly gtk4-rs does not support statically linking the GTK C libraries, which causes much difficulties on distributing on platforms other than Linux. We have to either copying shared libraries or ask users to have msys2 installed on Windows platform, for example. #563 . Yet the shared libraries consumes much space, making it a penalty compared to other rust GUIs. Recently I noticed that the rusqlite project supports linking sqlite library statically with bundle feature flag. Hope that this will be supported by gtk4-rs later.

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

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions