aboutsummaryrefslogtreecommitdiff
path: root/depends
diff options
context:
space:
mode:
authorMark Friedenbach <mark@friedenbach.org>2022-04-20 12:50:37 -0700
committerAlfonso Roman Zubeldia <alfonsoromanz24@gmail.com>2024-01-11 15:36:18 -0300
commit4756114e505cff8848fb6344ef9a48d8822066c1 (patch)
tree53338abcfbc49712e2173be936325b4758715cbf /depends
parent4baa162dbb3c6464e196a4a21fe63794859021b4 (diff)
[depends] Allow PATH with spaces in directory names.
added test and update code based on feedback
Diffstat (limited to 'depends')
-rw-r--r--depends/funcs.mk6
1 files changed, 3 insertions, 3 deletions
diff --git a/depends/funcs.mk b/depends/funcs.mk
index 987be4e611..ce87aa579f 100644
--- a/depends/funcs.mk
+++ b/depends/funcs.mk
@@ -139,9 +139,9 @@ $(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+=PKG_CONFIG_SYSROOT_DIR=/
$(1)_config_env+=CMAKE_MODULE_PATH=$($($(1)_type)_prefix)/lib/cmake
-$(1)_config_env+=PATH=$(build_prefix)/bin:$(PATH)
-$(1)_build_env+=PATH=$(build_prefix)/bin:$(PATH)
-$(1)_stage_env+=PATH=$(build_prefix)/bin:$(PATH)
+$(1)_config_env+=PATH="$(build_prefix)/bin:$(PATH)"
+$(1)_build_env+=PATH="$(build_prefix)/bin:$(PATH)"
+$(1)_stage_env+=PATH="$(build_prefix)/bin:$(PATH)"
# Setting a --build type that differs from --host will explicitly enable
# cross-compilation mode. Note that --build defaults to the output of