From: Johannes Sixt Date: Fri, 27 Nov 2009 21:17:22 GMT Subject: Re: [msysGit] [PATCH/RFC 11/11] mingw: compile git-daemon Message-ID: <200911272217.22271.j6t@kdbg.org> In-Reply-To: <1259196260-3064-12-git-send-email-kusmabite@gmail.com> On Donnerstag, 26. November 2009, Erik Faye-Lund wrote: > --- a/Makefile > +++ b/Makefile > @@ -352,6 +352,7 @@ EXTRA_PROGRAMS = > > # ... and all the rest that could be moved out of bindir to gitexecdir > PROGRAMS += $(EXTRA_PROGRAMS) > +PROGRAMS += git-daemon$X > PROGRAMS += git-fast-import$X > PROGRAMS += git-hash-object$X > PROGRAMS += git-imap-send$X > @@ -981,6 +982,8 @@ ifneq (,$(findstring MINGW,$(uname_S))) > OBJECT_CREATION_USES_RENAMES = UnfortunatelyNeedsTo > NO_REGEX = YesPlease > BLK_SHA1 = YesPlease > + NO_INET_PTON = YesPlease > + NO_INET_NTOP = YesPlease > COMPAT_CFLAGS += -D__USE_MINGW_ACCESS -DNOGDI -Icompat -Icompat/fnmatch > COMPAT_CFLAGS += -DSTRIP_EXTENSION=\".exe\" > # We have GCC, so let's make use of those nice options > @@ -1079,9 +1082,6 @@ ifdef ZLIB_PATH > endif > EXTLIBS += -lz > > -ifndef NO_POSIX_ONLY_PROGRAMS > - PROGRAMS += git-daemon$X > -endif > ifndef NO_OPENSSL > OPENSSL_LIBSSL = -lssl > ifdef OPENSSLDIR You should remove NO_POSIX_ONLY_PROGRAMS from MSVC and MinGW sections. -- Hannes