#43446: Meson: Search python executable only once Open Date: 2021-12-20 10:33 Last Update: 2022-01-09 04:27 URL for this Ticket: https://osdn.net//projects/freeciv/ticket/43446 RSS feed for this Ticket: https://osdn.net/ticket/ticket_rss.php?group_id=12505&tid=43446 --------------------------------------------------------------------- Last Changes/Comment on this Ticket: 2022-01-09 04:27 Updated by: cazfi * Status Update from Open to Closed * Owner Update from (None) to cazfi * Resolution Update from Accepted to Fixed --------------------------------------------------------------------- Ticket Status: Reporter: cazfi Owner: cazfi Type: Patches Status: Closed Priority: 5 - Medium MileStone: 3.1.0 Component: Bootstrap Severity: 5 - Medium Resolution: Fixed --------------------------------------------------------------------- Ticket details: Currently each meson custom_target() using python search for the binary itself, meaning it gets searched multiple times. Search it just once and store result to an executable variable, which is then used in all places where its needed. -- Ticket information of Freeciv project Freeciv Project is hosted on OSDN Project URL: https://osdn.net/projects/freeciv/ OSDN: https://osdn.net URL for this Ticket: https://osdn.net/projects/freeciv/ticket/43446 RSS feed for this Ticket: https://osdn.net/ticket/ticket_rss.php?group_id=12505&tid=43446