Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • C cairo
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 331
    • Issues 331
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 43
    • Merge requests 43
  • 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
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • cairo
  • cairo
  • Merge requests
  • !265

Merged
Created Dec 07, 2021 by fasterthanlime@fasterthanlimeContributor

Set CAIRO_WIN32_STATIC_BUILD when doing a static build on windows

  • Overview 10
  • Commits 2
  • Pipelines 2
  • Changes 2

When doing static builds of poppler on Windows, cairo is typically built from source using a Meson subproject.

The CAIRO_WIN32_STATIC_BUILD define needs to be set when linking statically against cairo. It can either be set in poppler's own meson.build, or directly in cairo's meson.build, if my understanding is correct.

The define is only set when default_library is static and the host machine system is windows, as it is not useful/desirable in other scenarios.

(There's no public meson.build files for poppler yet - I'll submit them to wrapdb soon).

Assignee
Assign to
Reviewer
Request review from
Time tracking
Source branch: amos/win32-static-build