index 18b5be842e3bf2c0f20c2717afa868cdc872c2f6..87437960bc321d53c719286faea77f9b49798ed6 100644 (file)
# But not if we are in a subproject, in case the parent project wants to
# create a dist using the standard Meson command.
if not meson.is_subproject()
- meson.add_dist_script(perl, '-e', 'exit 1')
+ # We can only pass the identifier perl here when we depend on >= 0.55
+ if meson.version().version_compare('>=0.55')
+ meson.add_dist_script(perl, '-e', 'exit 1')
+ endif
endif