TEST: missing_lib parswer not working, tentative fix

This commit is contained in:
XargonWan 2024-12-12 20:38:57 +09:00
parent 24ed79a228
commit c07507a113

View file

@ -682,7 +682,7 @@ modules:
build-commands:
- |
# Search for missing libraries in our libtmp folder
missing_libs=$("find /app/bin -type f -exec ldd {} + 2>/dev/null | grep 'not found' | awk '{print \$2}' | tr -d ':' | xargs -n 1 basename | sort | uniq | tr '\n' ' '")
missing_libs=$("find ${FLATPAK_DEST}/bin -type f -exec ldd {} + 2>/dev/null | grep 'not found' | awk '{print \$2}' | tr -d ':' | xargs -n 1 basename | sort | uniq | tr '\n' ' '")
echo "Missing libs: $missing_libs"
# Manually specified libraries that are not automatically detected