mirror of https://github.com/PCSX2/pcsx2.git
CI/AppImage: Explicitly remove libwayland-*
This commit is contained in:
parent
8766d0b676
commit
ab2874749e
|
@ -55,6 +55,12 @@ declare -a MANUAL_QT_PLUGINS=(
|
||||||
"wayland-shell-integration"
|
"wayland-shell-integration"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
declare -a REMOVE_LIBS=(
|
||||||
|
'libwayland-client.so*'
|
||||||
|
'libwayland-cursor.so*'
|
||||||
|
'libwayland-egl.so*'
|
||||||
|
)
|
||||||
|
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
LINUXDEPLOY=./linuxdeploy-x86_64.AppImage
|
LINUXDEPLOY=./linuxdeploy-x86_64.AppImage
|
||||||
|
@ -158,6 +164,16 @@ for GROUP in "${MANUAL_QT_PLUGINS[@]}"; do
|
||||||
done
|
done
|
||||||
done
|
done
|
||||||
|
|
||||||
|
# Why do we have to manually remove these libs? Because the linuxdeploy Qt plugin
|
||||||
|
# copies them, not the "main" linuxdeploy binary, and plugins don't inherit the
|
||||||
|
# include list...
|
||||||
|
for lib in "${REMOVE_LIBS[@]}"; do
|
||||||
|
for libpath in $(find "$OUTDIR/usr/lib" -name "$lib"); do
|
||||||
|
echo " Removing problematic library ${libpath}."
|
||||||
|
rm -f "$libpath"
|
||||||
|
done
|
||||||
|
done
|
||||||
|
|
||||||
# Restore unstripped deps (for cache).
|
# Restore unstripped deps (for cache).
|
||||||
rm -fr "$DEPSDIR"
|
rm -fr "$DEPSDIR"
|
||||||
mv "$DEPSDIR.bak" "$DEPSDIR"
|
mv "$DEPSDIR.bak" "$DEPSDIR"
|
||||||
|
|
Loading…
Reference in New Issue