cgit

commit 06e14dc61cf36c146f04de91497d2fe866c46f5e

Author: Harley Laue <losinggeneration@gmail.com>

Add LDFLAGS to makefile.

This will allow for creating static builds which is useful for chrooted
environments.

Signed-off-by: Harley Laue <losinggeneration@gmail.com>
Signed-off-by: Lars Hjemli <hjemli@gmail.com>

 Makefile | 2 +-


diff --git a/Makefile b/Makefile
index 302ff4c1683c70a21db4634b119bba1f11d025ac..2fe537eb6ee54b293852be913357956b99dafad2 100644
--- a/Makefile
+++ b/Makefile
@@ -95,7 +95,7 @@ CFLAGS += -DCGIT_CACHE_ROOT='"$(CACHE_ROOT)"'
 
 
 cgit: $(OBJECTS) libgit
-	$(QUIET_CC)$(CC) $(CFLAGS) -o cgit $(OBJECTS) $(EXTLIBS)
+	$(QUIET_CC)$(CC) $(CFLAGS) $(LDFLAGS) -o cgit $(OBJECTS) $(EXTLIBS)
 
 cgit.o: VERSION