make runPkgConfig pub

This commit is contained in:
Lee Cannon
2022-09-26 21:22:28 +01:00
committed by Veikka Tuominen
parent 9c2fb6e186
commit 38a50f819c

View File

@@ -2064,7 +2064,7 @@ pub const LibExeObjStep = struct {
/// Run pkg-config for the given library name and parse the output, returning the arguments
/// that should be passed to zig to link the given library.
fn runPkgConfig(self: *LibExeObjStep, lib_name: []const u8) ![]const []const u8 {
pub fn runPkgConfig(self: *LibExeObjStep, lib_name: []const u8) ![]const []const u8 {
const pkg_name = match: {
// First we have to map the library name to pkg config name. Unfortunately,
// there are several examples where this is not straightforward: