Browse Source

waifulib: xcompile: fix C++ with host toolchain

pull/2/head
Alibek Omarov 5 years ago
parent
commit
9ea973dad6
  1. 2
      scripts/waifulib/xcompile.py

2
scripts/waifulib/xcompile.py

@ -291,7 +291,7 @@ class Android: @@ -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':

Loading…
Cancel
Save