···6464 echo $pkg-config > $out/nix-support/orig-pkg-config
65656666 wrap ${targetPrefix}pkg-config ${./pkg-config-wrapper.sh} "${getBin pkg-config}/bin/pkg-config"
6767+ ''
6868+ # symlink in share for autoconf to find macros
6969+7070+ # TODO(@Ericson2314): in the future just make the unwrapped pkg-config a
7171+ # propagated dep once we can rely on downstream deps comming first in
7272+ # search paths. (https://github.com/NixOS/nixpkgs/pull/31414 took a crack
7373+ # at this.)
7474+ + ''
7575+ ln -s ${pkg-config}/share $out/share
6776 '';
68776978 strictDeps = true;