]> git.sesse.net Git - vlc/commitdiff
Fix gnutls building on windows... Complete and horrible hack... but
authorJean-Baptiste Kempf <jb@altair.videolan.org>
Fri, 18 Apr 2008 22:42:10 +0000 (00:42 +0200)
committerJean-Baptiste Kempf <jb@altair.videolan.org>
Fri, 18 Apr 2008 22:42:10 +0000 (00:42 +0200)
seems to work.

extras/contrib/src/Makefile

index f74fad9538a49ad0e6f5b5083d2e6cfca102993d..efe23606447721f7865ab9bd33c7b725677367dc 100644 (file)
@@ -1880,7 +1880,7 @@ gnutls: gnutls-$(GNUTLS_VERSION).tar.bz2
        $(EXTRACT_BZ2)
 ifdef HAVE_WIN32
        patch -p0 < Patches/gnutls-win32.patch
-       (cd $@; cd lgl; ln -sf alloca_.h alloca.h) 
+       (cd $@; cd lgl; ln -sf alloca_.h alloca.h; rm vasprintf.c; touch vasprintf.c; rm vasnprintf.c; touch vasnprintf.c
 endif
 
 .gnutls: gnutls .opencdk .gcrypt .gpg-error