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