$NetBSD: patch-bazel_pkg__config__repository.bzl,v 1.1 2024/02/10 01:17:27 ryoon Exp $ --- bazel/pkg_config_repository.bzl.orig 2023-12-14 08:51:15.941327119 +0000 +++ bazel/pkg_config_repository.bzl @@ -103,7 +103,7 @@ def _pkg_config_repository_impl(repo_ctx "hdrs": _make_strlist([item + "/**" for item in includes]), "copts": _make_strlist(_exec_pkg_config(repo_ctx, "--cflags-only-other")), "includes": _make_strlist(includes), - "linkopts": _make_strlist(_exec_pkg_config(repo_ctx, "--libs-only-l")), + "linkopts": _make_strlist(_exec_pkg_config(repo_ctx, "--libs")), } build_file_data = BUILD_TEMPLATE.format(**data)