diff options
| -rw-r--r-- | pkg/fuse/gen.lua | 8 | ||||
| -rw-r--r-- | pkg/sshfs/gen.lua | 10 |
2 files changed, 15 insertions, 3 deletions
diff --git a/pkg/fuse/gen.lua b/pkg/fuse/gen.lua index f2319078..48ab9286 100644 --- a/pkg/fuse/gen.lua +++ b/pkg/fuse/gen.lua @@ -4,6 +4,14 @@ cflags{ '-I $srcdir/lib', } +pkg.hdrs = copy('$outdir/include', '$srcdir/include', { + 'fuse.h', + 'fuse_common.h', + 'fuse_log.h', + 'fuse_lowlevel.h', + 'fuse_opt.h', +}) + cc('lib/mount_util.c') exe('fusermount3', {'util/fusermount.c', 'lib/mount_util.c.o'}) diff --git a/pkg/sshfs/gen.lua b/pkg/sshfs/gen.lua index 026f0c3b..47490c63 100644 --- a/pkg/sshfs/gen.lua +++ b/pkg/sshfs/gen.lua @@ -1,12 +1,16 @@ cflags{ '-D FUSE_USE_VERSION=31', '-I $dir', - '-I $basedir/pkg/fuse/src/include', + '-I $builddir/pkg/fuse/include', } +pkg.deps = {'pkg/fuse/headers'} + exe('sshfs', { - 'sshfs.c', 'nocache.c', '$builddir/pkg/fuse/libfuse.a', -}, {'pkg/fuse/fetch'}) + 'sshfs.c', + 'nocache.c', + '$builddir/pkg/fuse/libfuse.a', +}) file('bin/sshfs', '755', '$outdir/sshfs') man{'$dir/sshfs.1'} |
