Skip to content

Commit

Permalink
fix: glibc check
Browse files Browse the repository at this point in the history
  • Loading branch information
foxyseta authored and Kha committed Nov 24, 2023
1 parent e434e1c commit 164e112
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions elan-init.sh
Original file line number Diff line number Diff line change
Expand Up @@ -188,6 +188,9 @@ get_architecture() {
if [ "$(uname -o)" = Android ]; then
local _ostype=Android
fi
if !(ldd --version 2>&1 | grep -iqE 'glibc|gnu c library|gnu libc'); then
err "only glibc systems are supported"
fi
fi

if [ "$_ostype" = Darwin -a "$_cputype" = i386 ]; then
Expand Down

0 comments on commit 164e112

Please sign in to comment.