From 38a50f819c8cfb4a8d08e76934bb90f223bc6d7c Mon Sep 17 00:00:00 2001 From: Lee Cannon Date: Mon, 26 Sep 2022 21:22:28 +0100 Subject: [PATCH] make `runPkgConfig` pub --- lib/std/build.zig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/std/build.zig b/lib/std/build.zig index 2c141d5401..51e6cae573 100644 --- a/lib/std/build.zig +++ b/lib/std/build.zig @@ -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: