Commit: 8444ab12c99cba80f270454e13bb5c3c6fedc439
Parent: 8d0a09eccbcac30840984735cc76c4a75a5de5c2
Author: Randy Palamar
Date: Mon, 9 Oct 2023 22:29:30 -0600
libgit2: don't depend on headers being installed first
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/pkg/libs/libgit2/gen.lua b/pkg/libs/libgit2/gen.lua
@@ -1,6 +1,6 @@
cflags({
'-I $dir',
- '-I $outdir/include',
+ '-I $srcdir/include',
'-I $srcdir/deps/http-parser',
'-I $srcdir/deps/xdiff',
'-I $srcdir/src/libgit2',
@@ -213,7 +213,7 @@ lib('libgit2.a', [[
$builddir/pkg/libs/zlib/libz.a
]])
- -- <cd src/include; find . -type f
+-- <cd src/include; find . -type f
pkg.hdrs = {
copy('$outdir/include', '$srcdir/include', { 'git2.h' }),
copy('$outdir/include/git2', '$srcdir/include/git2', {