diff --git a/build-daemon.sh b/build-daemon.sh
index 47b684393473f476e0e541b23b1e22d26457e65f..581c2a1f9a7e677e9174372621081ecf933656b9 100755
--- a/build-daemon.sh
+++ b/build-daemon.sh
@@ -181,6 +181,7 @@ STATIC_LIBS_ALL="-llog -lOpenSLES -landroid \
                 -luuid -lz -ldl \
                 -lvpx -lopus -lspeex -lspeexdsp -lx264 \
                 -largon2 \
+                -lgit2 \
                 -liconv"
 
 LIBRING_JNI_DIR=${ANDROID_APP_DIR}/app/src/main/libs/${ANDROID_ABI}