diff --git a/scripts/waifulib/xcompile.py b/scripts/waifulib/xcompile.py index 4579ae6f..98516ce8 100644 --- a/scripts/waifulib/xcompile.py +++ b/scripts/waifulib/xcompile.py @@ -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':