aboutsummaryrefslogtreecommitdiff
path: root/package/qt5/qt5sensors
diff options
context:
space:
mode:
authorGravatar Thomas De Schampheleire <patrickdepinguin@gmail.com>2014-03-19 20:30:06 +0100
committerGravatar Peter Korsgaard <peter@korsgaard.com>2014-03-26 17:04:49 +0100
commitb923fdffdd77bccef2822748a2adcb9a04a1f1fa (patch)
tree95c7f58e9196e9d28ae36052d0d01e7710b3e8c0 /package/qt5/qt5sensors
parent205839d085508b83d9437f2fbe002ef076aa0cdb (diff)
downloadbuildroot-b923fdffdd77bccef2822748a2adcb9a04a1f1fa.tar.gz
buildroot-b923fdffdd77bccef2822748a2adcb9a04a1f1fa.tar.bz2
qt5 packages: set correct PATH when running qmake
The qmake step of qt5 packages may attempt to run pkg-config. If qmake is executed in an environment where the buildroot host directory is not in PATH, pkg-config from the build machine may be used (/usr/bin/pkg-config). This causes qt5 package compilation to fail on machines that do not have pkg-config installed. Refer to mailing list thread [1] for a specific error case. This patch prepends TARGET_MAKE_ENV (which sets PATH) to the qmake call. Reported-by: Marco Trapanese <marcotrapanese@gmail.com> Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com> [1] http://lists.busybox.net/pipermail/buildroot/2014-March/092283.html Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Diffstat (limited to 'package/qt5/qt5sensors')
-rw-r--r--package/qt5/qt5sensors/qt5sensors.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/qt5/qt5sensors/qt5sensors.mk b/package/qt5/qt5sensors/qt5sensors.mk
index 21ec36c21f..1b0329340d 100644
--- a/package/qt5/qt5sensors/qt5sensors.mk
+++ b/package/qt5/qt5sensors/qt5sensors.mk
@@ -23,7 +23,7 @@ QT5SENSORS_DEPENDENCIES += qt5declarative
endif
define QT5SENSORS_CONFIGURE_CMDS
- (cd $(@D); $(HOST_DIR)/usr/bin/qmake)
+ (cd $(@D); $(TARGET_MAKE_ENV) $(HOST_DIR)/usr/bin/qmake)
endef
define QT5SENSORS_BUILD_CMDS