Skip to content

What is the simplest way to run pkg-config commands in a dune file [question]? #9069

@UnixJunkie

Description

@UnixJunkie

Hello,

To compile some C bindings, I would like dune to use the output of some pkg-config commands, such as:

  • pkg-config --libs nlopt
  • pkg-config --cflags nlopt

Am I dreaming, or dune has not support for creating a variable whose content is the output
of a system command (like the back quoting mechanism in the bash shell) ?

Thanks,
F.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions