Select GTK version explicitly when configuring Travis CI builds

Don't rely on just a single GTK version being installed on the system,
as we do now, but select the version we want explicitly, just to avoid
bad surprises in the future (even if it doesn't change anything for
now).
This commit is contained in:
Vadim Zeitlin
2020-10-19 16:51:36 +02:00
parent 7859163e66
commit a2923a6fad

View File

@@ -68,6 +68,10 @@ case $wxTOOLSET in
echo 'Configuring...'
wxCONFIGURE_OPTIONS="--disable-optimise $wxCONFIGURE_FLAGS"
if [ -n "$wxGTK_VERSION" ]; then
wxCONFIGURE_OPTIONS="--with-gtk=$wxGTK_VERSION $wxCONFIGURE_OPTIONS"
fi
if [ "$wxUSE_ASAN" = 1 ]; then
export LSAN_OPTIONS=suppressions=$(pwd)/misc/suppressions/lsan