authorgravatar for leecannon@leecannon.xyzLee Cannon <leecannon@leecannon.xyz> 2022-09-26 21:22:28+01:00
committergravatar for git@vexu.euVeikka Tuominen <git@vexu.eu> 2022-09-27 13:20:32+03:00
log38a50f819c8cfb4a8d08e76934bb90f223bc6d7c
tree391d194bfd9d0f5fc37ab0ba40b1b62eea9eca4f
parent9c2fb6e1860d1ea7fab85ceedae290053756d543

make `runPkgConfig` pub


1 files changed, 1 insertions(+), 1 deletions(-)

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