diff options
| author | Michael Forney <mforney@mforney.org> | 2019-06-07 21:04:52 -0700 |
|---|---|---|
| committer | Michael Forney <mforney@mforney.org> | 2019-06-09 22:43:05 -0700 |
| commit | c957c486be71fb63a6f5fba8c5ac1cb1fcd5f04f (patch) | |
| tree | b3796ce8da82e5113998ae67528f63cc39d67c5c /pkg/elftoolchain/gen.lua | |
| parent | 2e6b6a5e8a24555f4d421ca9b166b7ae7cc986cf (diff) | |
Use libelf from elftoolchain
Diffstat (limited to 'pkg/elftoolchain/gen.lua')
| -rw-r--r-- | pkg/elftoolchain/gen.lua | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/pkg/elftoolchain/gen.lua b/pkg/elftoolchain/gen.lua index 4bdeabe4..8a728811 100644 --- a/pkg/elftoolchain/gen.lua +++ b/pkg/elftoolchain/gen.lua @@ -9,6 +9,7 @@ cflags{ pkg.hdrs = { copy('$outdir/include', '$srcdir/libelf', {'libelf.h', 'gelf.h'}), copy('$outdir/include', '$srcdir/common', {'elfdefinitions.h'}), + install=true, } rule('m4', 'm4 -D SRCDIR=$srcdir/libelf $in >$out.tmp && mv $out.tmp $out') @@ -74,5 +75,6 @@ lib('libelf.a', [[ ) $outdir/(libelf_convert.c libelf_fsize.c libelf_msize.c) ]]) +file('lib/libelf.a', '644', '$outdir/libelf.a') fetch 'curl' |
