projects
/
qemu-gpiodev
/
libfuse.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1243bef
)
Produce more helpful message on OS-X and Windows.
author
Nikolaus Rath
<Nikolaus@rath.org>
Thu, 3 Aug 2017 11:44:32 +0000
(13:44 +0200)
committer
Nikolaus Rath
<Nikolaus@rath.org>
Thu, 3 Aug 2017 11:44:32 +0000
(13:44 +0200)
Fixes: #186.
meson.build
patch
|
blob
|
history
diff --git
a/meson.build
b/meson.build
index 7b126314b19ad6eb28bf00e6568b51f94d2fd5ef..0e1eb0aedbe0872e39a429ceb9c5c6a45c35d4c7 100644
(file)
--- 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
#