Skip to content

Missing fontconfig dependency in binding.gyp #2506

@nea89o

Description

@nea89o

The binding.gyp file does not include references to fontconfig to provide the header files for fontconfig.h used by src/register_font.cc on linux. This becomes a problem on nixos where there isnt a global include folder. To remedy this, '<!@(pkg-config fontconfig --cflags-only-I | sed s/-I//g)', can be specified in the # 'OS!="win"' block.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions