From 314d1dc077717fad95cd14d0e4c9d582e65cd9f6 Mon Sep 17 00:00:00 2001 From: XargonWan Date: Thu, 9 Jan 2025 14:18:30 +0900 Subject: [PATCH] LIBMAN: added runtime libraries to the esclusion list --- automation_tools/libman.sh | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/automation_tools/libman.sh b/automation_tools/libman.sh index f0d57135..fa962746 100644 --- a/automation_tools/libman.sh +++ b/automation_tools/libman.sh @@ -6,6 +6,16 @@ # List of user-defined libraries to exclude excluded_libraries=("libselinux.so.1") +# Add libraries from /lib/x86_64-linux-gnu/ to the excluded list +for lib in /lib/x86_64-linux-gnu/*.so*; do + excluded_libraries+=("$(basename "$lib")") +done + +# Add libraries from /lib to the excluded list +for lib in /lib/*.so*; do + excluded_libraries+=("$(basename "$lib")") +done + # Define target directory target_dir="${FLATPAK_DEST}/lib"