From f93f656811073f0f2049b885cf4d6aec851761f5 Mon Sep 17 00:00:00 2001 From: tobtoht Date: Sun, 25 Aug 2024 17:38:15 +0200 Subject: [PATCH] depends: allow granular stage env config --- contrib/depends/funcs.mk | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/contrib/depends/funcs.mk b/contrib/depends/funcs.mk index e08669c98..cc9ddc8f8 100644 --- a/contrib/depends/funcs.mk +++ b/contrib/depends/funcs.mk @@ -138,6 +138,11 @@ $(1)_build_env+=$($(1)_build_env_$(host_arch)) $($(1)_build_env_$(host_arch)_$(r $(1)_build_env+=$($(1)_build_env_$(host_os)) $($(1)_build_env_$(host_os)_$(release_type)) $(1)_build_env+=$($(1)_build_env_$(host_arch)_$(host_os)) $($(1)_build_env_$(host_arch)_$(host_os)_$(release_type)) +$(1)_stage_env+=$$($(1)_stage_env_$(release_type)) +$(1)_stage_env+=$($(1)_stage_env_$(host_arch)) $($(1)_stage_env_$(host_arch)_$(release_type)) +$(1)_stage_env+=$($(1)_stage_env_$(host_os)) $($(1)_stage_env_$(host_os)_$(release_type)) +$(1)_stage_env+=$($(1)_stage_env_$(host_arch)_$(host_os)) $($(1)_stage_env_$(host_arch)_$(host_os)_$(release_type)) + $(1)_config_env+=PKG_CONFIG_LIBDIR=$($($(1)_type)_prefix)/lib/pkgconfig $(1)_config_env+=PKG_CONFIG_PATH=$($($(1)_type)_prefix)/share/pkgconfig $(1)_config_env+=PATH="$(build_prefix)/bin:$(PATH)"