Re: [ANNOUNCE] cgit v0.7
- From
- Lars Hjemli <hjemli@gmail.com>
- Date
- Nov 6, 2007, 08:44 UTC
- Message-ID
- <8c5c35580711060044i7a3d0134p42e9437cbe2a258b@mail.gmail.com>
- In-Reply-To
- <Pine.LNX.4.64.0711060903070.8577@ds9.cixit.se>
On Nov 6, 2007 9:04 AM, Peter Karlsson <peter@softwolves.pp.se> wrote:
Show 7 quoted lines
> Lars Hjemli: > > > cgit v0.7 (a fast webinterface for git) is now available at > > > > git://hjemli.net/pub/git/cgit > > Has anyone managed to compile this for Win32?
If (win32 == cygwin): yes, just did (but it needed a makefile tweak regarding iconv)
--
From: Lars Hjemli <hjemli@gmail.com>
Date: Tue, 6 Nov 2007 09:35:07 +0100
Subject: [PATCH] Makefile: link with libiconv if NEEDS_LIBICONV is defined
This seems to be needed to compile on cygwin.
Signed-off-by: Lars Hjemli <hjemli@gmail.com>
---
Makefile | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
diff --git a/Makefile b/Makefile
index 6abd82a..dbc34a2 100644
--- a/Makefile
+++ b/Makefile
@@ -19,6 +19,11 @@ OBJECTS = shared.o cache.o parsing.o html.o
ui-shared.o ui-repolist.o \
ui-snapshot.o ui-blob.o ui-tag.o ui-refs.o
+ifdef NEEDS_LIBICONV
+ EXTLIBS += -liconv
+endif
+
+
.PHONY: all git install clean distclean force-version get-git
all: cgit git
--
1.5.3.4.452.g09149