2
0
mirror of https://github.com/FWGS/xash3d-fwgs synced 2024-11-25 11:19:59 +01:00

waifulib: xcompile: fix C++ with host toolchain

This commit is contained in:
Alibek Omarov 2019-10-09 03:48:51 +03:00
parent fcdd45341c
commit 9ea973dad6

View File

@ -291,7 +291,7 @@ class Android:
def ldflags(self):
ldflags = ['-lgcc', '-no-canonical-prefixes']
if self.is_clang():
if self.is_clang() or self.is_host():
ldflags += ['-stdlib=libstdc++']
if self.is_arm():
if self.arch == 'armeabi-v7a':