aboutsummaryrefslogtreecommitdiff
path: root/depends/packages
diff options
context:
space:
mode:
authorHennadii Stepanov <32963518+hebasto@users.noreply.github.com>2022-12-07 16:51:48 +0000
committerHennadii Stepanov <32963518+hebasto@users.noreply.github.com>2022-12-07 16:51:48 +0000
commitaffbf58a1e52a8e60c830be6a9e0347e0ff4c28e (patch)
tree52014b8189012d1b6ff0263cac2d126100225687 /depends/packages
parentd44fcd3c976572883bbf7f386bc88e2610dc1a58 (diff)
build: Move environment variables into `$(package)_config_env`
Diffstat (limited to 'depends/packages')
-rw-r--r--depends/packages/qt.mk4
1 files changed, 1 insertions, 3 deletions
diff --git a/depends/packages/qt.mk b/depends/packages/qt.mk
index d9ae918d71..2f7ddf6a5f 100644
--- a/depends/packages/qt.mk
+++ b/depends/packages/qt.mk
@@ -33,6 +33,7 @@ $(package)_extra_sources = $($(package)_qttranslations_file_name)
$(package)_extra_sources += $($(package)_qttools_file_name)
define $(package)_set_vars
+$(package)_config_env = QT_MAC_SDK_NO_VERSION_CHECK=1
$(package)_config_opts_release = -release
$(package)_config_opts_release += -silent
$(package)_config_opts_debug = -debug
@@ -261,9 +262,6 @@ define $(package)_preprocess_cmds
endef
define $(package)_config_cmds
- export PKG_CONFIG_SYSROOT_DIR=/ && \
- export PKG_CONFIG_LIBDIR=$(host_prefix)/lib/pkgconfig && \
- export QT_MAC_SDK_NO_VERSION_CHECK=1 && \
cd qtbase && \
./configure -top-level $($(package)_config_opts)
endef