Skip to content

Commit

Permalink
xxf86vm is needed for some linux gl distros
Browse files Browse the repository at this point in the history
Signed-off-by: falkTX <[email protected]>
  • Loading branch information
falkTX committed Mar 16, 2024
1 parent 6250a88 commit c6a49b8
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion bootstrap-common.sh
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,7 @@ if [ "${LINUX}" -eq 1 ]; then
elif [ "${LINUX_TARGET}" = "linux-x86_64" ]; then
export PKG_CONFIG_PATH=/usr/lib/x86_64-linux-gnu/pkgconfig
fi
if ! pkg-config --print-errors --exists alsa dbus-1 gl glib-2.0 libpcre libpcre2-8 pthread-stubs uuid x11 xcb xcursor xext xfixes xproto xrandr xrender; then
if ! pkg-config --print-errors --exists alsa dbus-1 gl glib-2.0 libpcre libpcre2-8 pthread-stubs uuid x11 xcb xcursor xext xfixes xproto xrandr xrender xxf86vm; then
echo "some system libs are not available, cannot continue"
exit 2
fi
Expand Down Expand Up @@ -273,6 +273,10 @@ if [ "${LINUX}" -eq 1 ]; then
cp $(pkg-config --variable=pcfiledir xrender)/xrender.pc ${TARGET_PKG_CONFIG_PATH}/
sed -i '/Libs.private/d' ${TARGET_PKG_CONFIG_PATH}/xrender.pc
fi
if [ ! -e "${TARGET_PKG_CONFIG_PATH}/xxf86vm.pc" ]; then
cp $(pkg-config --variable=pcfiledir xxf86vm)/xxf86vm.pc ${TARGET_PKG_CONFIG_PATH}/
sed -i '/Libs.private/d' ${TARGET_PKG_CONFIG_PATH}/xxf86vm.pc
fi
fi

# ---------------------------------------------------------------------------------------------------------------------
Expand Down

0 comments on commit c6a49b8

Please sign in to comment.