From d423c437edfacbf4278a8e286f7d7960f4139572 Mon Sep 17 00:00:00 2001 From: mittorn Date: Sat, 28 Oct 2023 23:30:15 +0300 Subject: [PATCH] waf/xcompile: fix ld path for host clang --- scripts/waifulib/xcompile.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/waifulib/xcompile.py b/scripts/waifulib/xcompile.py index ef6dd402..8b3eb495 100644 --- a/scripts/waifulib/xcompile.py +++ b/scripts/waifulib/xcompile.py @@ -318,7 +318,7 @@ class Android: if self.is_host(): linkflags += ['--gcc-toolchain=%s' % self.gen_gcc_toolchain_path()] linkflags += ['--gcc-install-dir=%s/lib/gcc/%s/4.9/' % (self.gen_gcc_toolchain_path(), self.ndk_triplet())] - linkflags += ['-fuse-ld=%s/bin/aarch64-linux-android-ld.bfd' % self.gen_gcc_toolchain_path()] + linkflags += ['-fuse-ld=%s/bin/%s-ld.bfd' % (self.gen_gcc_toolchain_path(), self.ndk_triplet())] linkflags += ['--unwindlib=none'] linkflags += ['--rtlib=libgcc']