Show config.log contents if configure failed
This should help understanding why Qt libraries are not found under Bionic and may also be useful in case of other failures in the future.
This commit is contained in:
parent
cd750332d3
commit
f899a72d45
1 changed files with 8 additions and 1 deletions
|
|
@ -54,7 +54,14 @@ case $wxTOOLSET in
|
|||
;;
|
||||
*)
|
||||
echo 'Configuring...' && echo -en 'travis_fold:start:script.configure\\r'
|
||||
./configure --disable-optimise --disable-debug_info $wxCONFIGURE_FLAGS
|
||||
./configure --disable-optimise --disable-debug_info $wxCONFIGURE_FLAGS || rc=$?
|
||||
if [ $rc != 0 ]; then
|
||||
echo '*** Configuring failed, contents of config.log follows: ***'
|
||||
echo '-----------------------------------------------------------'
|
||||
cat config.log
|
||||
echo '-----------------------------------------------------------'
|
||||
exit $rc
|
||||
fi
|
||||
echo -en 'travis_fold:end:script.configure\\r'
|
||||
|
||||
echo 'Building...' && echo -en 'travis_fold:start:script.build\\r'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue