diff options
| author | Michael Forney <mforney@mforney.org> | 2025-04-29 01:35:11 -0700 |
|---|---|---|
| committer | Michael Forney <mforney@mforney.org> | 2025-04-29 01:35:11 -0700 |
| commit | 4f507a0d32626e6965b8e8cfc726ab2412872e44 (patch) | |
| tree | c08767ec4bfa37cead2dbe658f97197400c2e5e8 | |
| parent | 1741ddb74437d00bf3f0182469112bd08ccdcf36 (diff) | |
luaposix: Include lua header directory
| -rw-r--r-- | pkg/luaposix/gen.lua | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/pkg/luaposix/gen.lua b/pkg/luaposix/gen.lua index eb1955f0..6b167eff 100644 --- a/pkg/luaposix/gen.lua +++ b/pkg/luaposix/gen.lua @@ -1,8 +1,13 @@ cflags{ '-std=c99', '-D _GNU_SOURCE', - '-I $srcdir/ext/include', '-include $dir/config.h', + '-I $srcdir/ext/include', + '-isystem $builddir/pkg/lua/include', +} + +pkg.deps = { + 'pkg/lua/headers', } build('sed', '$outdir/version.lua', '$srcdir/lib/posix/version.lua.in', { |
