• David 'Digit' Turner's avatar
    build-gdbserver.sh: don't copy platforms symlink · 9404c871
    David 'Digit' Turner authored
    If the previous invokation of gen-platforms.sh didn't use
    the --fast-copy option, then build-gdbserver.sh tried to copy
    symlinks into its build root (/tmp/ndk-$USER/build/gdbserver/sysroot)
    and most headers there were dangling symlink.
    
    As a consequence, the build failed because the sysroot files were
    invalid. This patch ensures we do not copy the symlinks but the
    files that they actually reference instead, fixing the issue.
    
    Change-Id: I87c7d4dcdcc68eaee66f3518b9e7a2fae9e48c9e
    9404c871
build-gdbserver.sh 7.58 KB