Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Register
  • Sign in
  • L libsecret
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 31
    • Issues 31
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 4
    • Merge requests 4
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • GNOMEGNOME
  • libsecret
  • Issues
  • #61
Closed
Open
Issue created Apr 10, 2021 by Daiki Ueno@duenoMaintainer

Introduce symbol versioning of the library

When creating a shared library, it is a good practice to associate version information to each exported symbol through LD version scripts: https://www.gnu.org/software/gnulib/manual/html_node/LD-Version-Scripts.html

While Meson doesn't have native support for it yet, there is a way to supply version scripts through cc.get_supported_link_arguments and link_with attribute in shared_library target. Examples are:

  • https://github.com/p11-glue/p11-kit/blob/master/p11-kit/meson.build#L85
  • https://github.com/hughsie/libgusb/blob/master/gusb/meson.build#L48
Assignee
Assign to
Time tracking