Skip to content

Commit bbe2299

Browse files
Clarify the libgit2 version requirements.
1 parent 0f79cf1 commit bbe2299

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ext/rugged/extconf.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ def sys(cmd)
4343
break if major && minor
4444
end
4545

46-
try_compile(<<-SRC) or abort "libgit2 version is not compatible"
46+
try_compile(<<-SRC) or abort "libgit2 version is not compatible, expected ~> #{major}.#{minor}.0"
4747
#include <git2/version.h>
4848
4949
#if LIBGIT2_VER_MAJOR != #{major} || LIBGIT2_VER_MINOR != #{minor}

0 commit comments

Comments
 (0)