Files
oasis-linux-mirror/pkg/libtermkey/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

17 lines
298 B
Lua

cflags{
'-std=c99', '-Wall',
'-isystem $builddir/pkg/ncurses/include',
}
pkg.hdrs = copy('$outdir/include', '$srcdir', {'termkey.h'})
pkg.deps = {'pkg/ncurses/headers'}
lib('libtermkey.a', {
'termkey.c',
'driver-csi.c',
'driver-ti.c',
'$builddir/pkg/ncurses/libncurses.a',
})
fetch 'curl'