qa.sh: Add missing DLL symlinks for MinGW

This commit is contained in:
Sebastian Pipping 2019-07-28 22:32:00 +02:00
parent 0ff0d45359
commit f0b8636ccc

View File

@ -108,6 +108,18 @@ run_tests() {
egypt) return 0 ;;
esac
if [[ ${CC} =~ mingw ]]; then
# NOTE: Filenames are hardcoded for Travis Ubuntu trusty, as of now
for i in tests xmlwf xmlwf/.libs ; do
RUN ln -s \
/usr/i686-w64-mingw32/lib/libwinpthread-1.dll \
/usr/lib/gcc/i686-w64-mingw32/4.8/libgcc_s_sjlj-1.dll \
/usr/lib/gcc/i686-w64-mingw32/4.8/libstdc++-6.dll \
../lib/.libs/libexpat-1.dll \
${i}/
done
fi
RUN "${MAKE}" \
CFLAGS="${CFLAGS} -Werror" \
CXXFLAGS="${CXXFLAGS} -Werror" \