From 2611b4771b330f6dd6ac76d3277963c9e604d004 Mon Sep 17 00:00:00 2001 From: The Judge <53906078+thejudge156@users.noreply.github.com> Date: Mon, 25 Mar 2024 18:41:02 -0700 Subject: [PATCH] Update turnip_builder.sh --- turnip_builder.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/turnip_builder.sh b/turnip_builder.sh index fe7bfad..3662d9b 100644 --- a/turnip_builder.sh +++ b/turnip_builder.sh @@ -91,6 +91,10 @@ cp "$workdir"/mesa-LTS-Freedreno/build-quest-release/src/freedreno/vulkan/libvul cd "$workdir" +echo "Using patchelf to fix libz.so.1 -> libz.so..." $'\n' +patchelf --replace-needed libz.so.1 libz.so "$workdir"/libvulkan_freedreno.so + + if ! [ -a libvulkan_freedreno.so ]; then echo -e "$red Build failed! $nocolor" && exit 1 fi