summaryrefslogtreecommitdiff
path: root/pkg/utf8proc/gen.lua
diff options
context:
space:
mode:
authorMichael Forney <mforney@mforney.org>2020-06-02 03:07:14 -0700
committerMichael Forney <mforney@mforney.org>2020-06-02 04:22:27 -0700
commitf2c69cb8c49cb7c5f0eb7a5d6c01c9f1d57d51be (patch)
tree3703863142aca6c926b218f134c8a3e4697a6b26 /pkg/utf8proc/gen.lua
parent0e9474b95e6db1ec0892950515971906008cc536 (diff)
utf8proc: Add header target
Diffstat (limited to 'pkg/utf8proc/gen.lua')
-rw-r--r--pkg/utf8proc/gen.lua2
1 files changed, 2 insertions, 0 deletions
diff --git a/pkg/utf8proc/gen.lua b/pkg/utf8proc/gen.lua
index 926f0f3a..b8e5ce30 100644
--- a/pkg/utf8proc/gen.lua
+++ b/pkg/utf8proc/gen.lua
@@ -1,5 +1,7 @@
cflags{'-std=c99', '-Wall', '-Wpedantic'}
+pkg.hdrs = copy('$outdir/include', '$srcdir', {'utf8proc.h'})
+
lib('libutf8proc.a', {'utf8proc.c'})
fetch 'git'