From 788cb8c6b9e230b56e7954377f4a2958f38738f4 Mon Sep 17 00:00:00 2001 From: The Judge <53906078+thejudge156@users.noreply.github.com> Date: Fri, 1 Mar 2024 12:20:33 -0800 Subject: [PATCH] Update turnip_builder.sh --- turnip_builder.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/turnip_builder.sh b/turnip_builder.sh index b44010d..a47e2cf 100644 --- a/turnip_builder.sh +++ b/turnip_builder.sh @@ -92,6 +92,11 @@ 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