Files
oasis-linux-mirror/pkg/sshfs/gen.lua
Michael Forney d4297a13c8 Use -isystem to include library headers
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.
2020-06-05 03:01:44 -07:00

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'