Commit 768e185c54164a66fc4e2dbe7c58097eff65ebdf

Arthur Schreiber 2016-01-05T21:55:11

Wrap path in quotes to support paths containing whitespace.

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/libgit2.pc.in b/libgit2.pc.in
index 880266a..329a560 100644
--- a/libgit2.pc.in
+++ b/libgit2.pc.in
@@ -6,7 +6,7 @@ Name: libgit2
 Description: The git library, take 2
 Version: @LIBGIT2_VERSION_STRING@
 
-Libs: -L${libdir} -lgit2
+Libs: -L"${libdir}" -lgit2
 Libs.private: @LIBGIT2_PC_LIBS@
 Requires.private: @LIBGIT2_PC_REQUIRES@