waifulib: fix configure with clang

This commit is contained in:
nillerusr 2022-08-15 22:37:56 +03:00
parent c68b7af554
commit 872243be56

View File

@ -299,7 +299,10 @@ class Android:
return linkflags
def ldflags(self):
ldflags = ['-lgcc', '-no-canonical-prefixes']
ldflags = ['-no-canonical-prefixes']
if not self.is_clang():
ldflags += ['-lgcc']
if self.is_clang() or self.is_host():
ldflags += ['-stdlib=libstdc++']
if self.is_arm():