diff options
| author | Michael Forney <mforney@mforney.org> | 2018-10-16 20:19:15 -0700 |
|---|---|---|
| committer | Michael Forney <mforney@mforney.org> | 2018-10-18 15:27:53 -0700 |
| commit | 314c8b36a2ec5e43d2d516b9c09a6129f31b260c (patch) | |
| tree | 9ffe2bd5e028b2c8763532d4f1dcd952b2c3d8ea /pkg/e2fsprogs/gen.lua | |
| parent | 8ee61f4961648834b435ed50c99f64c33297d5c5 (diff) | |
e2fsprogs: Probe for size of long and time_t
Diffstat (limited to 'pkg/e2fsprogs/gen.lua')
| -rw-r--r-- | pkg/e2fsprogs/gen.lua | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/pkg/e2fsprogs/gen.lua b/pkg/e2fsprogs/gen.lua index c1dfa969..adc43bb5 100644 --- a/pkg/e2fsprogs/gen.lua +++ b/pkg/e2fsprogs/gen.lua @@ -1,7 +1,7 @@ set('version', '1.44.4') cflags{ '-D HAVE_CONFIG_H', - '-I $dir', + '-I $outdir', '-I $outdir/include', '-I $outdir/internal', '-I $outdir/internal/support', @@ -9,6 +9,12 @@ cflags{ '-I $builddir/pkg/util-linux/include', } +build('cat', '$outdir/config.h', { + '$dir/config.h', + '$builddir/probe/SIZEOF_LONG', + '$builddir/probe/SIZEOF_TIME_T', +}) + set('subst', { '-e s,@E2FSPROGS_VERSION@,$version,', '-e s,@E2FSPROGS_MONTH@,Aug,', @@ -63,6 +69,7 @@ pkg.hdrs = { '$outdir/include/ext2fs/ext2_types.h', } pkg.deps = { + '$outdir/config.h', '$dir/headers', '$outdir/internal/blkid/blkid_types.h', '$outdir/internal/support/prof_err.h', |
