commit: 8b81b69317e8345f0d673c25c92986bb1734a8c4
parent 13d0cdae7fa7eac394143bfff4065e2232bd47ee
Author: Michael Forney <mforney@mforney.org>
Date: Tue, 2 Jun 2020 03:33:42 -0700
libevent: Add source headers to header target
Diffstat:
2 files changed, 10 insertions(+), 1 deletion(-)
diff --git a/pkg/libevent/gen.lua b/pkg/libevent/gen.lua
@@ -10,6 +10,16 @@ build('sed', '$outdir/include/event2/event-config.h', {'$dir/config.h', '|', '$s
})
pkg.hdrs = {
+ copy('$outdir/include/event2', '$srcdir/include/event2', {
+ 'buffer.h',
+ 'bufferevent.h',
+ 'dns.h',
+ 'event.h',
+ 'http.h',
+ 'http_struct.h',
+ 'util.h',
+ 'visibility.h',
+ }),
'$outdir/include/event2/event-config.h',
}
pkg.deps = {
diff --git a/pkg/transmission/gen.lua b/pkg/transmission/gen.lua
@@ -44,7 +44,6 @@ cflags{
'-I $srcdir/third-party',
'-I $srcdir/third-party/libb64/include',
'-I $srcdir/third-party/libnatpmp',
- '-I $basedir/pkg/libevent/src/include',
'-idirafter $basedir/pkg/openbsd/src/sys',
'-include config.h',
}