diff options
-rw-r--r-- | Makefile.PL | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Makefile.PL b/Makefile.PL index d430e0fb..49bdf741 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -251,6 +251,7 @@ my @deps = glob 'deps/libgit2/deps/{http-parser,zlib,pcre}/*.c'; my @srcs = glob 'deps/libgit2/src/libgit2/{*.c,transports/*.c,xdiff/*.c,streams/*.c}'; push @srcs, glob 'deps/libgit2/src/util/{*.c,allocators/*.c,hash/collision*.c,hash/hash*.c,hash/builtin*.c,hash/sha1dc/*.c,hash/rfc6234/*.c}'; $inc .= ' -Ideps/libgit2/deps/pcre'; +$lib .= ' -lgit2'; if ($is_windows) { push @srcs, glob 'deps/libgit2/src/util/win32/*.c'; @@ -336,7 +337,7 @@ my %WriteMakefileArgs = ( "Getopt::Long" => "2.35" }, "DISTNAME" => "Git-Raw", - "INC" => "-I. -Ideps/libgit2 -I deps/libgit2/include -Ideps/libgit2/src/libgit2 -Ideps/libgit2/src/util -Ideps/libgit2/deps/http-parser -Ideps/libgit2/deps/zlib", + "INC" => "-I. ", "LICENSE" => "perl", "MIN_PERL_VERSION" => "5.006", "NAME" => "Git::Raw", |