Browse Source

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.
reviewable/pr6448/r1
Anthony Bilinski 4 years ago
parent
commit
68ca7354be
No known key found for this signature in database
GPG Key ID: 2AA8E0DA1B31FB3C
  1. 1
      buildscripts/docker/Dockerfile.windows_builder
  2. 8
      windows/cross-compile/build.sh

1
buildscripts/docker/Dockerfile.windows_builder

@ -191,6 +191,7 @@ RUN mkdir /export && \ @@ -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/ && \

8
windows/cross-compile/build.sh

@ -219,3 +219,11 @@ then @@ -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

Loading…
Cancel
Save