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 )