Jenkins: Fix libvulkan symlink location on x86 builds
This commit is contained in:
@@ -998,10 +998,10 @@ else
|
|||||||
# dependency issues. While Qt expects libvulkan.so, at least Debian only
|
# dependency issues. While Qt expects libvulkan.so, at least Debian only
|
||||||
# ships libvulkan.so.1 without a symlink, so make our own as a workaround.
|
# ships libvulkan.so.1 without a symlink, so make our own as a workaround.
|
||||||
# The relative paths prevent appimage-builder from flattening the links.
|
# The relative paths prevent appimage-builder from flattening the links.
|
||||||
mkdir -p "archive_tmp/usr/lib/$arch_triplet"
|
mkdir -p "archive_tmp/usr/lib/$libdir"
|
||||||
relroot="../../../../../../../../../../../../../../../../../../../../../../../../../../../../.."
|
relroot="../../../../../../../../../../../../../../../../../../../../../../../../../../../../.."
|
||||||
ln -s "$relroot/usr/lib/libvulkan.so.1" "archive_tmp/usr/lib/libvulkan.so"
|
ln -s "$relroot/usr/lib/libvulkan.so.1" "archive_tmp/usr/lib/libvulkan.so"
|
||||||
ln -s "$relroot/usr/lib/$arch_triplet/libvulkan.so.1" "archive_tmp/usr/lib/$arch_triplet/libvulkan.so"
|
ln -s "$relroot/usr/lib/$libdir/libvulkan.so.1" "archive_tmp/usr/lib/$libdir/libvulkan.so"
|
||||||
|
|
||||||
# Archive Discord Game SDK library.
|
# Archive Discord Game SDK library.
|
||||||
7z e -y -o"archive_tmp/usr/lib" "$discord_zip" "lib/$arch_discord/discord_game_sdk.so"
|
7z e -y -o"archive_tmp/usr/lib" "$discord_zip" "lib/$arch_discord/discord_game_sdk.so"
|
||||||
|
Reference in New Issue
Block a user