From c939c13416fa5e24dd3dc7d5de692090634b9834 Mon Sep 17 00:00:00 2001 From: Dmitry Mikhin <41896087+dmitry-j-mikhin@users.noreply.github.com> Date: Wed, 4 Sep 2024 19:03:31 +0300 Subject: [PATCH] Fix for #1239 (#1264) --- foreign_cc/built_tools/pkgconfig_build.bzl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/foreign_cc/built_tools/pkgconfig_build.bzl b/foreign_cc/built_tools/pkgconfig_build.bzl index 1bbf9a6b..e74d638c 100644 --- a/foreign_cc/built_tools/pkgconfig_build.bzl +++ b/foreign_cc/built_tools/pkgconfig_build.bzl @@ -166,7 +166,7 @@ def pkgconfig_tool(name, srcs, **kwargs): "@platforms//os:windows": "cp release/x64/pkg-config.exe $$INSTALLDIR$$/bin", "//conditions:default": "", }), - toolchain = "@rules_foreign_cc//toolchains:preinstalled_nmake_toolchain", + toolchain = str(Label("//toolchains:preinstalled_nmake_toolchain")), tags = tags, **kwargs )