Index: platform_tools/android/bin/utils/setup_toolchain.sh |
diff --git a/platform_tools/android/bin/utils/setup_toolchain.sh b/platform_tools/android/bin/utils/setup_toolchain.sh |
index c2c6a522091b69fa8458ed0d8eee553abd30bdad..0879fc9ecbc4caf82a65127ca2cffed4eca43e3d 100755 |
--- a/platform_tools/android/bin/utils/setup_toolchain.sh |
+++ b/platform_tools/android/bin/utils/setup_toolchain.sh |
@@ -60,7 +60,7 @@ function default_toolchain() { |
--platform=android-$API \ |
--install_dir=$TOOLCHAIN |
cp $UNZIPPED/prebuilt/android-$ANDROID_ARCH/gdbserver/gdbserver $TOOLCHAIN |
- cp $UNZIPPED/prebuilt/${HOST}-x86_64/bin/gdb $TOOLCHAIN |
+ cp -r $UNZIPPED/prebuilt/${HOST}-x86_64 $TOOLCHAIN/host_prebuilt |
rm $NDK.zip |
rm -rf $UNZIPPED |
popd |