depot/third_party/nixpkgs/pkgs/build-support/pkg-config-wrapper/add-flags.sh

13 lines
262 B
Bash
Raw Normal View History

# See cc-wrapper for comments.
var_templates_list=(
PKG_CONFIG_PATH
)
accumulateRoles
for var in "${var_templates_list[@]}"; do
mangleVarList "$var" ${role_suffixes[@]+"${role_suffixes[@]}"}
done
export NIX_PKG_CONFIG_WRAPPER_FLAGS_SET_@suffixSalt@=1