On 8/1/23 3:13 PM, Eli Schwartz wrote:
> On Thu, 27 Jul 2023 15:43:26 +0100 Simon McVittie <s...@debian.org> wrote:
>> Is there a way this can be done, without making packages FTBFS if debhelper
>> is backported to an older suite but Meson is not? -Dpython.bytecompile=-1
>> will cause `meson setup` to fail if Meson is an older version, and I'm not
>> aware of a way to say "set this option if supported, ignore if not" without
>> parsing `meson --version` and comparing it with a threshold.
> 
> 
> Just tested, and adding this to a --native-file should work:
> 
> ```
> [built-in options]
> python.bytecompile = '-1'
> ```


Sorry, no, this works for versions of meson that have the option, but
setting unknown properties isn't ignored.

Ignore me...


-- 
Eli Schwartz

Reply via email to