1
0
mirror of https://github.com/qTox/qTox.git synced 2024-03-22 14:00:36 +08:00

fix(Windows): Add missed openal dll since CI refactor

Old windows/cross-compile/build.sh copied OPENAL_PREFIX_DIR/bin/*.dll to be
included, but the current Dockerfile.windows_builder copies libs one by one
and misses OpenAL. qTox fails to start on launch with due to missing
OpenAL32.dll on Windows because of this.

Add a special check for OpenAL, since the generic missing dll check doesn't
cover it.
This commit is contained in:
Anthony Bilinski 2022-02-09 01:31:40 -08:00
parent 79feb19d7d
commit 68ca7354be
No known key found for this signature in database
GPG Key ID: 2AA8E0DA1B31FB3C
2 changed files with 9 additions and 0 deletions

View File

@ -191,6 +191,7 @@ RUN mkdir /export && \
cp /windows/bin/libtoxcore.dll /export && \
cp /windows/bin/libopus-*.dll /export && \
cp /windows/lib/libvpx.dll /export && \
cp /windows/bin/OpenAL32.dll /export && \
cp /windows/bin/libssl-*.dll /export && \
cp /windows/bin/libsnore-qt5.dll /export && \
mkdir -p /export/libsnore-qt5/ && \

View File

@ -219,3 +219,11 @@ then
echo "Error: Missing some dlls."
exit 1
fi
# Check that OpenAL is bundled. It is availabe from WINE, but not on Windows systems
if grep -q '/root/.wine/drive_c/windows/system32/openal32.dll' dlls-required
then
cat dlls-required
echo "Error: Missing OpenAL."
exit 1
fi