Skip to content

Statically link libpng on Windows? #1907

@ISSOtm

Description

@ISSOtm

This would have a few upsides:

  • It's only used by a single program, so we could get some overall size reduction
  • Slightly faster startup time from not having to resolve dynamic relocs
  • The lib's contents can be trimmed and otherwise optimised together with the program itself (particularly with LTO)
  • Much, much simpler distribution (no DLLs to gather and copy into test/gfx!)

Downsides:

  • People couldn't upgrade the DLL separately (but does anyone even do that?)

Metadata

Metadata

Assignees

No one assigned

    Labels

    buildsThis affects the build process or release artifacts

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions