build-gdbserver.sh: don't copy platforms symlink
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
Showing
Please register or sign in to comment