1*4882a593SmuzhiyunFrom 20cadec59408c63adcdb41619a886422e34e6410 Mon Sep 17 00:00:00 2001
2*4882a593SmuzhiyunFrom: Denys Dmytriyenko <denys@ti.com>
3*4882a593SmuzhiyunDate: Tue, 25 Aug 2015 10:05:15 -0400
4*4882a593SmuzhiyunSubject: [PATCH] configure: bump path length from 256 to 512 characters
5*4882a593Smuzhiyun
6*4882a593SmuzhiyunIncrease the path length that gets hardcoded into generated config.cpp file
7*4882a593Smuzhiyunfrom 256 to 512 characters, as nativesdk path can be quite long.
8*4882a593Smuzhiyun
9*4882a593SmuzhiyunAlso update length of EXT_PREFIX and HOST_PREFIX now.
10*4882a593Smuzhiyun
11*4882a593SmuzhiyunChange-Id: If98dd57160efe9c98c36148cdf872f50b3d38118
12*4882a593SmuzhiyunSigned-off-by: Denys Dmytriyenko <denys@ti.com>
13*4882a593SmuzhiyunUpstream-Status: Pending
14*4882a593Smuzhiyun---
15*4882a593Smuzhiyun configure.pri | 6 +++---
16*4882a593Smuzhiyun 1 file changed, 3 insertions(+), 3 deletions(-)
17*4882a593Smuzhiyun
18*4882a593Smuzhiyundiff --git a/configure.pri b/configure.pri
19*4882a593Smuzhiyunindex 49755f7abf..f84862d1ca 100644
20*4882a593Smuzhiyun--- a/configure.pri
21*4882a593Smuzhiyun+++ b/configure.pri
22*4882a593Smuzhiyun@@ -883,10 +883,10 @@ defineTest(qtConfOutput_preparePaths) {
23*4882a593Smuzhiyun
24*4882a593Smuzhiyun     $${currentConfig}.output.qconfigSource = \
25*4882a593Smuzhiyun         "/* Installation Info */" \
26*4882a593Smuzhiyun-        "static const char qt_configure_prefix_path_str  [12+256] = \"qt_prfxpath=$$config.input.prefix\";" \
27*4882a593Smuzhiyun+        "static const char qt_configure_prefix_path_str  [12+512] = \"qt_prfxpath=$$config.input.prefix\";" \
28*4882a593Smuzhiyun         "$${LITERAL_HASH}ifdef QT_BUILD_QMAKE" \
29*4882a593Smuzhiyun-        "static const char qt_configure_ext_prefix_path_str   [12+256] = \"qt_epfxpath=$$config.input.extprefix\";" \
30*4882a593Smuzhiyun-        "static const char qt_configure_host_prefix_path_str  [12+256] = \"qt_hpfxpath=$$config.input.hostprefix\";" \
31*4882a593Smuzhiyun+        "static const char qt_configure_ext_prefix_path_str   [12+512] = \"qt_epfxpath=$$config.input.extprefix\";" \
32*4882a593Smuzhiyun+        "static const char qt_configure_host_prefix_path_str  [12+512] = \"qt_hpfxpath=$$config.input.hostprefix\";" \
33*4882a593Smuzhiyun         "$${LITERAL_HASH}endif" \
34*4882a593Smuzhiyun         "" \
35*4882a593Smuzhiyun         "static const short qt_configure_str_offsets[] = {" \
36