From 73f964129b86d4513706159e0a958f40e7e217fd Mon Sep 17 00:00:00 2001 From: Haibo Huang Date: Wed, 21 Aug 2019 10:54:34 -0700 Subject: Do not rename LLVMgold.dll In the new toolchain, LLVMgold.dll is already in lib64/ Test: build.py Change-Id: I272d4538cc6996ae2696038e536ffa6af5621796 --- ndk/checkbuild.py | 7 ------- 1 file changed, 7 deletions(-) (limited to 'ndk/checkbuild.py') diff --git a/ndk/checkbuild.py b/ndk/checkbuild.py index 31a4fc46a..291c8a41b 100755 --- a/ndk/checkbuild.py +++ b/ndk/checkbuild.py @@ -320,13 +320,6 @@ class Clang(ndk.builds.Module): os.remove(os.path.join(install_path, 'bin/lldb' + bin_ext)) if self.host.is_windows: - # The toolchain prebuilts have LLVMgold.dll in the bin directory - # rather than the lib directory that will actually be searched. - bin_dir = os.path.join(install_path, 'bin') - lib_dir = os.path.join(install_path, 'lib64') - os.rename(os.path.join(bin_dir, 'LLVMgold.dll'), - os.path.join(lib_dir, 'LLVMgold.dll')) - # Windows doesn't support rpath, so we need to copy # libwinpthread-1.dll too. shutil.copy2(os.path.join(bin_dir, 'libwinpthread-1.dll'), -- cgit v1.2.3