mirror of
https://github.com/moonlight-stream/moonlight-qt.git
synced 2025-07-02 07:46:07 +00:00
Fix EGL loading in the AppImage
This commit is contained in:
parent
2127e1d90b
commit
6f710faa8e
@ -27,7 +27,12 @@ mkdir $INSTALLER_FOLDER
|
|||||||
|
|
||||||
echo Configuring the project
|
echo Configuring the project
|
||||||
pushd $BUILD_FOLDER
|
pushd $BUILD_FOLDER
|
||||||
qmake $SOURCE_ROOT/moonlight-qt.pro PREFIX=$DEPLOY_FOLDER/usr DEFINES+=APP_IMAGE || fail "Qmake failed!"
|
# Building with Wayland support will cause linuxdeployqt to include libwayland-client.so in the AppImage.
|
||||||
|
# Since we always use the host implementation of EGL, this can cause libEGL_mesa.so to fail to load due
|
||||||
|
# to missing symbols from the host's version of libwayland-client.so that aren't present in the older
|
||||||
|
# version of libwayland-client.so from our AppImage build environment. When this happens, EGL fails to
|
||||||
|
# work even in X11. To avoid this, we will disable Wayland support for the AppImage.
|
||||||
|
qmake $SOURCE_ROOT/moonlight-qt.pro CONFIG+=disable-wayland PREFIX=$DEPLOY_FOLDER/usr DEFINES+=APP_IMAGE || fail "Qmake failed!"
|
||||||
popd
|
popd
|
||||||
|
|
||||||
echo Compiling Moonlight in $BUILD_CONFIG configuration
|
echo Compiling Moonlight in $BUILD_CONFIG configuration
|
||||||
|
Loading…
x
Reference in New Issue
Block a user