Commit f65a4386 authored by damienf's avatar damienf
Browse files

- contribs: cleanup pthreads for win32 target

parent 12a27bac
......@@ -1602,7 +1602,11 @@ zvbi-$(ZVBI_VERSION).tar.bz2:
zvbi: zvbi-$(ZVBI_VERSION).tar.bz2
$(EXTRACT_BZ2)
ifdef HAVE_WIN32
.zvbi: zvbi .pthreads
else
.zvbi: zvbi
endif
ifdef HAVE_DARWIN_OS
(cd $<; ./configure --prefix=$(PREFIX) CFLAGS="$(CFLAGS) -fnested-functions" && make && make install)
else
......@@ -2167,7 +2171,7 @@ pthreads: pthreads-w32-$(PTHREADS_VERSION)-release.tar.gz
$(EXTRACT_GZ)
.pthreads: pthreads
(cd $<; $(HOSTCC) make $(PTHREADSCONF) GC-inlined; cp pthread.h ../../include/; cp *.dll *.a ../../lib/)
(cd $<; $(HOSTCC) make $(PTHREADSCONF) GC-static && cp pthread.h sched.h semaphore.h $(PREFIX)/include/ && cp *.a $(PREFIX)/lib/)
$(INSTALL_NAME)
touch $@
......
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