summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEdward Thomson <ethomson@edwardthomson.com>2017-04-07 09:02:54 +0100
committerGitHub <noreply@github.com>2017-04-07 09:02:54 +0100
commit44998cdb9a715fd470a78b0484a505955adc5546 (patch)
treed41bf4e891e1f0d1693f09d4111e49d1aed2c9b1
parentdbacbf78489406d7264fca633e0fd4d08e953b37 (diff)
parent22436f29453b60abcc6646333607d0d41dac96ed (diff)
downloadlibgit2-44998cdb9a715fd470a78b0484a505955adc5546.tar.gz
Merge pull request #4193 from pks-t/pks/libdir
pkgconfig: fix handling of prefixes containing whitespaces
-rw-r--r--libgit2.pc.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/libgit2.pc.in b/libgit2.pc.in
index 329a560a7..96b965955 100644
--- a/libgit2.pc.in
+++ b/libgit2.pc.in
@@ -1,4 +1,4 @@
-prefix=@PKGCONFIG_PREFIX@
+prefix="@PKGCONFIG_PREFIX@"
libdir=@PKGCONFIG_LIBDIR@
includedir=@PKGCONFIG_INCLUDEDIR@
@@ -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@