Skip to content

Commit 245f61b

Browse files
committed
build: correct the libgit2 pkg-config filename
1 parent e932dc6 commit 245f61b

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
@@ -116,7 +116,7 @@ def self.run_cmake(timeout, args)
116116
$LDFLAGS << " " + "-L#{Dir.pwd}/deps/winhttp"
117117
$LIBS << " -lwinhttp -lcrypt32 -lrpcrt4 -lole32 -lz -lssh2"
118118
else
119-
pcfile = File.join(LIBGIT2_DIR, "build", "libgit2.pc")
119+
pcfile = File.join(LIBGIT2_DIR, "build", "git2.pc")
120120
$LDFLAGS << " " + `pkg-config --libs --static #{pcfile}`.strip
121121
end
122122
end

0 commit comments

Comments
 (0)