Skip to content

Commit

Permalink
optimized
Browse files Browse the repository at this point in the history
  • Loading branch information
leleliu008 committed Nov 2, 2024
1 parent 4838b98 commit 44e092b
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion ndk-pkg
Original file line number Diff line number Diff line change
Expand Up @@ -9002,7 +9002,11 @@ EOF

##################################################################################

if [ "$LINUX" = 1 ] ; then
if [ "$LINUX" = 1 ] && [ -f '/lib/ld-musl-x86_64.so.1' ] ; then
cat >> init.sh <<EOF
export LD_LIBRARY_PATH="\$NDKPKG_HOME/lib"
EOF

wfetch 'https://github.com/leleliu008/test/releases/download/2023.10.08/gcc-13.1.0-linux-glibc-x86_64.tar.xz' --no-buffer
run $TAR xf gcc-13.1.0-linux-glibc-x86_64.tar.xz --strip-components=1

Expand Down

0 comments on commit 44e092b

Please sign in to comment.