Skip to content

How to use configurator to fetch pkg-config for the cross-compiling env? #2572

@toots

Description

@toots

ocaml-shine has now been converted to use dune as build system!

However, when cross-compiling for windows, the discover program used to fetch pkg-config information is compiled as a native binary and returns pkg-info related to the build host and not the target cross-compilation.

In configure world, this is handled by passing a host triplet and expecting the binary to use to also be prefixed with the same host triple, i.e. x86_64-w64-mingw32-pkg-config and etc.

Could it be possible to make this work with configurator?

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions