Skip to content

Commit 50e2335

Browse files
committed
Bundle even system libraries into Linux installer
This should help to run on most Linux systems
1 parent c4a29a4 commit 50e2335

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

installer/utils/linux-gnu_utils.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ copy_required_libs() {
1313
local binaries="$@"
1414
local libs=$(env LD_LIBRARY_PATH="$targetLibsDir:$hostDirLib:$qtDirLib:${LD_LIBRARY_PATH:-}" ldd $binaries \
1515
| grep so | sed -e '/^[^\t]/ d' | sed -e 's/\t//' | sed -e 's/.*=..//' | sed -e 's/ (0.*)//' \
16-
| xargs realpath -L -s | sort -u | grep -Ev "^$(realpath -e $targetLibsDir)|linux-vdso|^/lib/|^/lib64/")
16+
| xargs realpath -L -s | sort -u | grep -Ev "^$(realpath -e $targetLibsDir)|linux-vdso|^/lib64/")
1717
local rsync=""
1818

1919
for lib in ${libs}; do rsync="$rsync ${lib}*" ; done

0 commit comments

Comments
 (0)