Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • pygobject pygobject
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 279
    • Issues 279
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 16
    • Merge requests 16
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • GNOME
  • pygobjectpygobject
  • Merge requests
  • !84

Merged
Created Sep 06, 2018 by Christoph Reiter@creiter🐍Maintainer

meson: Don't link against libpython on non-Windows systems. Fixes #253

  • Overview 2
  • Commits 1
  • Pipelines 1
  • Changes 1

While on Windows it needs to link against it, on Unix systems it doesn't have to if the process loading it has all the symbols already loaded (python executable itself, or something dlopening libpython with RTLD_GLOBAL before).

While on Fedora things get linked by default that's not the case with Debian based distros and macOS, so most software has to deal with it anyway and we ignore Fedora here for now.

Ideally this should get handled in meson itself, see: https://github.com/mesonbuild/meson/issues/4117

Assignee
Assign to
Reviewer
Request review from
Time tracking
Source branch: meson-dont-link-libpython