Commit 35998f05 authored by Christophe Mutricy's avatar Christophe Mutricy

Fix libgcrypt compil under cygwin. It doesn't have gettimeoftheday() and it's...

Fix libgcrypt compil under cygwin. It doesn't have gettimeoftheday() and it's wongly detected, so force it. (from markfm 's debugging and googling)
parent 08e228e2
......@@ -1535,7 +1535,7 @@ libgcrypt: libgcrypt-$(GCRYPT_VERSION).tar.bz2
.gcrypt: libgcrypt .gpg-error
ifdef HAVE_WIN32
(cd $<; ./autogen.sh && $(HOSTCC) ./configure $(HOSTCONF) --target=i586-mingw32msvc --prefix=$(PREFIX) --program-prefix="" CFLAGS="$(CFLAGS)" && make && make install)
(cd $<; ./autogen.sh && $(HOSTCC) ./configure $(HOSTCONF) --target=i586-mingw32msvc --prefix=$(PREFIX) --program-prefix="" CFLAGS="$(CFLAGS)" && echo -n "#undef HAVE_GETTIMEOFDAY" >> config.h && make && make install)
else
ifeq ($(HOST),i686-apple-darwin8)
(cd $<; $(HOSTCC) ./configure $(HOSTCONF) --prefix=$(PREFIX) --disable-asm CFLAGS="$(CFLAGS)" && make && make install)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment