Browse Source

waifulib: fix configure with clang

pull/112/head
nillerusr 2 years ago
parent
commit
872243be56
  1. 5
      scripts/waifulib/xcompile.py

5
scripts/waifulib/xcompile.py

@ -299,7 +299,10 @@ class Android: @@ -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():

Loading…
Cancel
Save