diff options
-rw-r--r-- | meson.build | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/meson.build b/meson.build index 7b12631..0e1eb0a 100644 --- a/meson.build +++ b/meson.build @@ -2,6 +2,16 @@ project('libfuse3', 'c', version: '3.1.0', meson_version: '>= 0.38', default_options: [ 'buildtype=plain' ]) + +platform = host_machine.system() +if platform == 'darwin' + error('libfuse does not support OS-X.\n' + + 'Take a look at http://osxfuse.github.io/ instead') +elif platform == 'cygwin' or platform == 'windows' + error('libfuse does not support Windows.\n' + + 'Take a look at http://www.secfs.net/winfsp/ instead') +endif + # # Feature detection # |