changeset 3988:44af04a1e936

Fix win32 pot generation [L#2045404]
author cologic
date Fri, 15 Mar 2024 14:34:45 +0100
parents 4b318073bc26
children 9d56e8cc8e1d
files SConstruct
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/SConstruct	Thu Mar 07 04:44:40 2024 +0000
+++ b/SConstruct	Fri Mar 15 14:34:45 2024 +0100
@@ -392,7 +392,7 @@
     "--boost",
     "-s",
     "--output=$TARGET",
-    "$SOURCES",
+    '${list(filter(lambda _: not str(_).endswith(".o"), SOURCES))}'
 ]
 pot_bld = Builder(
     action=Action([pot_args], "Extracting messages to $TARGET from $SOURCES")