aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorakhropov <akhropov@yandex-team.com>2023-03-19 00:53:00 +0300
committerakhropov <akhropov@yandex-team.com>2023-03-19 00:53:00 +0300
commit3885d4050256290d9222a68f91e032f5c02c9a2a (patch)
tree14fad37cdb688ce516b04add2cf88c579a931be8
parent9c1808926f0ae75b6fc5866f45d3e9f1b963fb52 (diff)
downloadydb-3885d4050256290d9222a68f91e032f5c02c9a2a.tar.gz
Fix link_lib.py after rXXXXXX.
-rw-r--r--build/scripts/link_lib.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/build/scripts/link_lib.py b/build/scripts/link_lib.py
index b5e28e1f93..e73c02027a 100644
--- a/build/scripts/link_lib.py
+++ b/build/scripts/link_lib.py
@@ -27,8 +27,8 @@ class Opts(object):
self.modify_flags = ['-M']
self.need_modify = any(item.endswith('.a') for item in auto_input)
if self.need_modify:
- self.objs = filter(lambda x: x.endswith('.o'), auto_input)
- self.libs = filter(lambda x: x.endswith('.a'), auto_input)
+ self.objs = list( filter(lambda x: x.endswith('.o'), auto_input) )
+ self.libs = list( filter(lambda x: x.endswith('.a'), auto_input) )
else:
self.objs = auto_input
self.libs = []