]> git.sesse.net Git - vlc/commitdiff
Contrib: keep Win64 mess only for Win64
authorJean-Baptiste Kempf <jb@videolan.org>
Wed, 21 Apr 2010 21:19:19 +0000 (23:19 +0200)
committerJean-Baptiste Kempf <jb@videolan.org>
Wed, 21 Apr 2010 21:19:55 +0000 (23:19 +0200)
extras/contrib/src/Makefile

index 0f6ea111c5b3e9e79004bde4d5b24ba58a7d437d..6fe27f75875aeaad5c82ac72f40a015eac846948 100644 (file)
@@ -2343,7 +2343,9 @@ pthreads-w32-$(PTHREADS_VERSION)-release.tar.gz:
 pthreads: pthreads-w32-$(PTHREADS_VERSION)-release.tar.gz
        $(EXTRACT_GZ)
        (cd $@; patch -p0 < ../Patches/pthreads-detach.patch)
+ifdef HAVE_WIN64
        (patch -p0 < Patches/pthreads-win64.patch)
+endif
 
 .pthreads: pthreads
        (cd $<; $(HOSTCC) make $(PTHREADSCONF) GC GC-static && mkdir -p $(PREFIX)/include && cp -v pthread.h sched.h semaphore.h $(PREFIX)/include/ && mkdir -p $(PREFIX)/lib && cp -v *.a *.dll $(PREFIX)/lib/)