summaryrefslogtreecommitdiff
path: root/pkg/fuse/gen.lua
diff options
context:
space:
mode:
authorMichael Forney <mforney@mforney.org>2020-06-02 03:02:14 -0700
committerMichael Forney <mforney@mforney.org>2020-06-02 04:22:27 -0700
commit610f9097dcf15fc2c7f2c31b8b15e24b5bf591db (patch)
treef1f3d49a4d2dfae9f784c757ecca598bc5954a39 /pkg/fuse/gen.lua
parent8a157d611e944bac7ef8bd08df2cfdabd27c5b2f (diff)
fuse: Add header target
Diffstat (limited to 'pkg/fuse/gen.lua')
-rw-r--r--pkg/fuse/gen.lua8
1 files changed, 8 insertions, 0 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'})