diff --git a/component/git/buildout.cfg b/component/git/buildout.cfg
index e073909d74c9bb29fc90897f15cf8ad506e4e89d..da5b74441f95982021359977046670b547cfb0b6 100644
--- a/component/git/buildout.cfg
+++ b/component/git/buildout.cfg
@@ -32,7 +32,7 @@ environment =
   NO_TCLTK=y
   PATH=${curl:location}/bin:${gettext:location}/bin:${tar:location}/bin:${xz-utils:location}/bin:%(PATH)s
   CPPFLAGS=-I${zlib:location}/include
-  LDFLAGS=-L${zlib:location}/lib -L${openssl:location}/lib -Wl,-rpath=${openssl:location}/lib -Wl,-rpath=${zlib:location}/lib
+  LDFLAGS=-L${zlib:location}/lib -L${openssl:location}/lib -Wl,-rpath=${openssl:location}/lib -Wl,-rpath=${zlib:location}/lib -Wl,-rpath=${curl:location}/lib
 
 [gitweb]
 <= git