diff --git a/lib/arm-linux-gnueabihf/libmali-utgard-400-r7p0-r3p0-wayland.so b/lib/arm-linux-gnueabihf/libmali-utgard-400-r7p0-r3p0-wayland.so index d960394..e05447b 100755 Binary files a/lib/arm-linux-gnueabihf/libmali-utgard-400-r7p0-r3p0-wayland.so and b/lib/arm-linux-gnueabihf/libmali-utgard-400-r7p0-r3p0-wayland.so differ diff --git a/normalize.sh b/normalize.sh new file mode 100755 index 0000000..ca3599b --- /dev/null +++ b/normalize.sh @@ -0,0 +1,19 @@ +#!/bin/sh + +# Remove fbdev libs +rm -f $(find . -name "*fbdev*.so") + +# Link x11 libs +X11_LIBS=$(find . -name "*.so"|grep -vE "gbm.so|wayland.so|x11.so|only-cl.so") +for lib in $X11_LIBS;do + mv $lib ${lib%.so}-x11.so 2>/dev/null +done +for lib in $(find . -name "*.so"|grep x11.so);do + ln -sf ${lib##*/} ${lib%-x11.so}.so +done + +# Hack out-dated deps +for file in $(find . -type f);do + patchelf $file --replace-needed libffi.so.6 libffi.so + patchelf $file --replace-needed libcrypto.so.1.0.0 libcrypto.so +done 2>/dev/null diff --git a/overlay/px3seBase b/overlay/px3seBase index d1443e3..f001241 100755 Binary files a/overlay/px3seBase and b/overlay/px3seBase differ