aboutsummaryrefslogtreecommitdiffstats
path: root/packaging-tools/mkqt5bld.py
diff options
context:
space:
mode:
authorJani Heikkinen <jani.heikkinen@theqtcompany.com>2015-08-24 11:31:03 +0300
committerIikka Eklund <iikka.eklund@theqtcompany.com>2015-08-26 05:42:23 +0000
commitc0198ed271595a738786d1a429b7d7d9d5808c90 (patch)
treeee067f40d6c73f76a7b23c349e87b8994fc02915 /packaging-tools/mkqt5bld.py
parentbcdfbe2ea7963c8038d5fa25c810538058f89c93 (diff)
Fix flex path issue during packaging
Change-Id: Ieec483a1325096e2de7a397fbd7570a8276ca618 Reviewed-by: Iikka Eklund <iikka.eklund@theqtcompany.com>
Diffstat (limited to 'packaging-tools/mkqt5bld.py')
-rw-r--r--packaging-tools/mkqt5bld.py7
1 files changed, 3 insertions, 4 deletions
diff --git a/packaging-tools/mkqt5bld.py b/packaging-tools/mkqt5bld.py
index 16aa93351..d3dad14f4 100644
--- a/packaging-tools/mkqt5bld.py
+++ b/packaging-tools/mkqt5bld.py
@@ -332,10 +332,9 @@ def extract_src_package():
# Locate gnuwin32 tools
if bldinstallercommon.is_win_platform():
- gnuwin32_path = bldinstallercommin.locate_directory(QT_SOURCE_DIR, 'gnuwin32')
- path_temp = QT_BUILD_OPTIONS.system_env['PATH']
- path_temp = path_temp + ';' + gnuwin32_path
- QT_BUILD_OPTIONS.system_env['PATH'] = path_temp
+ gnuwin32_path = bldinstallercommon.locate_directory(QT_SOURCE_DIR, 'gnuwin32')
+ gnuwin32_path = os.path.join(gnuwin32_path, 'bin')
+ QT_BUILD_OPTIONS.system_env['PATH'] = gnuwin32_path + ';' + QT_BUILD_OPTIONS.system_env['PATH']
print_wrap('--------------------------------------------------------------------')