tools/ninja: fix build with python 3.13+
authorArne Zachlod <arne@nerdkeller.org>
Thu, 24 Apr 2025 10:50:03 +0000 (12:50 +0200)
committerRobert Marko <robimarko@gmail.com>
Tue, 6 May 2025 09:15:29 +0000 (11:15 +0200)
commitb4728c3e5ad95611e3c9b074aadcab017643186f
tree25b8134c8e6804b64b2f80dde3c2b0f1c6f68258
parentb0834b0265351c7e617a7c6398ebd5af0268d5e7
tools/ninja: fix build with python 3.13+

python 3.13 removed the pipes module. Replace pipes by shlex. shlex was introduced into python in 3.3

Signed-off-by: Arne Zachlod <arne@nerdkeller.org>
Link: https://github.com/openwrt/openwrt/pull/18582
Signed-off-by: Robert Marko <robimarko@gmail.com>
tools/ninja/patches/010-fix-python-no-pipes.patch [new file with mode: 0644]