meson icon indicating copy to clipboard operation
meson copied to clipboard

allow empty `name_suffix`

Open X547 opened this issue 2 years ago • 3 comments

It is required for plugins and kernel modules that are looked up by file name and require to specify exact file name. Some plugin systems do not use any prefix or suffix.

X547 avatar Nov 04 '22 22:11 X547

Dot is still present at end of file name if suffix is empty. More work needed.

X547 avatar Nov 05 '22 04:11 X547

Wouldn't the correct file extension for kernel modules actually be name_suffix: 'ko', though?

eli-schwartz avatar Nov 06 '22 05:11 eli-schwartz

Wouldn't the correct file extension for kernel modules actually be name_suffix: 'ko', though?

This is true for Linux, but not necessary for another operating systems. For example in Haiku kernel modules have no any prefix or suffix and module file name is used to find requested module. Haiku also do not use any prefix or suffix for various system extension plugins (add-ons) and userspace drivers.

X547 avatar Nov 06 '22 05:11 X547