diff options
author | Thomas De Schampheleire <patrickdepinguin@gmail.com> | 2014-03-19 20:30:06 +0100 |
---|---|---|
committer | Peter Korsgaard <peter@korsgaard.com> | 2014-03-26 17:04:49 +0100 |
commit | b923fdffdd77bccef2822748a2adcb9a04a1f1fa (patch) | |
tree | 95c7f58e9196e9d28ae36052d0d01e7710b3e8c0 /package/qt5/qt5quickcontrols | |
parent | 205839d085508b83d9437f2fbe002ef076aa0cdb (diff) | |
download | buildroot-b923fdffdd77bccef2822748a2adcb9a04a1f1fa.tar.gz buildroot-b923fdffdd77bccef2822748a2adcb9a04a1f1fa.zip |
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/qt5quickcontrols')
-rw-r--r-- | package/qt5/qt5quickcontrols/qt5quickcontrols.mk | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/package/qt5/qt5quickcontrols/qt5quickcontrols.mk b/package/qt5/qt5quickcontrols/qt5quickcontrols.mk index f9008b427c..5f284fbc21 100644 --- a/package/qt5/qt5quickcontrols/qt5quickcontrols.mk +++ b/package/qt5/qt5quickcontrols/qt5quickcontrols.mk @@ -19,7 +19,7 @@ QT5QUICKCONTROLS_REDISTRIBUTE = NO endif define QT5QUICKCONTROLS_CONFIGURE_CMDS - (cd $(@D); $(HOST_DIR)/usr/bin/qmake) + (cd $(@D); $(TARGET_MAKE_ENV) $(HOST_DIR)/usr/bin/qmake) endef define QT5QUICKCONTROLS_BUILD_CMDS |