2
0
mirror of https://github.com/FWGS/xash3d-fwgs synced 2024-11-28 13:02:13 +01:00

waf/xcompile: fix ld path for host clang

This commit is contained in:
mittorn 2023-10-28 23:30:15 +03:00
parent df44a72781
commit 11a38a405b

View File

@ -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']