mirror of
https://github.com/oasislinux/oasis.git
synced 2026-02-01 11:34:17 +01:00
This way, warnings from headers that come from another package (in particular linux-headers) won't show up when they get included. To make sure we still track dependencies, use -MD instead of -MMD.
18 lines
275 B
Lua
18 lines
275 B
Lua
cflags{
|
|
'-D FUSE_USE_VERSION=31',
|
|
'-I $dir',
|
|
'-isystem $builddir/pkg/fuse/include',
|
|
}
|
|
|
|
pkg.deps = {'pkg/fuse/headers'}
|
|
|
|
exe('sshfs', {
|
|
'sshfs.c',
|
|
'nocache.c',
|
|
'$builddir/pkg/fuse/libfuse.a',
|
|
})
|
|
file('bin/sshfs', '755', '$outdir/sshfs')
|
|
man{'$dir/sshfs.1'}
|
|
|
|
fetch 'git'
|