From 9a26b427fb939a3f836b3b2c4306a7a5c5435f07 Mon Sep 17 00:00:00 2001
From: Oleg Girko
Date: Mon, 25 Sep 2017 22:52:52 +0100
Subject: [PATCH] Don't set PKG_CONFIG_SYSROOT_DIR env variable to build Qt.
Setting PKG_CONFIG_SYSROOT_DIR environment variable to "/"
for building Qt makes pkgconf behave strange
(remove "/" prefix instead of adding it).
And it makes no sense to set this variable for old pkgconfig anyway.
Signed-off-by: Oleg Girko
---
depends/packages/qt.mk | 1 -
1 file changed, 1 deletion(-)
diff --git a/depends/packages/qt.mk b/depends/packages/qt.mk
index bbfdb766ed..d5354c6bf6 100644
--- a/depends/packages/qt.mk
+++ b/depends/packages/qt.mk
@@ -150,7 +150,6 @@ define $(package)_preprocess_cmds
endef
define $(package)_config_cmds
- export PKG_CONFIG_SYSROOT_DIR=/ && \
export PKG_CONFIG_LIBDIR=$(host_prefix)/lib/pkgconfig && \
export PKG_CONFIG_PATH=$(host_prefix)/share/pkgconfig && \
./configure $($(package)_config_opts) && \