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
1 changed files with 1 additions and 1 deletions

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':