31e25138faa490bf3342d45190f19ad73d35780d
[packages/cgit.git] / cgit-system-git.patch
1 diff --git a/cgit.mk b/cgit.mk
2 index 8af0041..35beb03 100644
3 --- a/cgit.mk
4 +++ b/cgit.mk
5 @@ -87,5 +87,6 @@ $(CGIT_PREFIX)CGIT-CFLAGS: FORCE
6  $(CGIT_OBJS): %.o: %.c GIT-CFLAGS $(CGIT_PREFIX)CGIT-CFLAGS $(missing_dep_dirs)
7         $(QUIET_CC)$(CC) -o $*.o -c $(dep_args) $(ALL_CFLAGS) $(EXTRA_CPPFLAGS) $(CGIT_CFLAGS) $<
8  
9 -$(CGIT_PREFIX)cgit: $(CGIT_OBJS) GIT-LDFLAGS $(GITLIBS)
10 +LIBS = -lgit -lgit_xdiff $(EXTLIBS)
11 +$(CGIT_PREFIX)cgit: $(CGIT_OBJS) GIT-LDFLAGS
12         $(QUIET_LINK)$(CC) $(ALL_CFLAGS) -o $@ $(ALL_LDFLAGS) $(filter %.o,$^) $(LIBS)
This page took 0.078465 seconds and 2 git commands to generate.