waifulib: fix configure with clang
This commit is contained in:
parent
8257f642b6
commit
fff10176b4
1 changed files with 4 additions and 1 deletions
|
@ -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…
Reference in a new issue