Commit b0be5abe authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Contribs: update to latest x264 configure and use native win32 threads

parent 98ce3c33
...@@ -1441,7 +1441,7 @@ ifdef HAVE_LINUX ...@@ -1441,7 +1441,7 @@ ifdef HAVE_LINUX
X264CONF += --enable-pic X264CONF += --enable-pic
endif endif
X264CONF += --disable-avs --disable-lavf --disable-ffms X264CONF += --disable-avs --disable-lavf --disable-ffms --enable-static
x264-$(X264_VERSION).tar.gz: x264-$(X264_VERSION).tar.gz:
$(WGET) $(X264_URL) $(WGET) $(X264_URL)
...@@ -1460,12 +1460,8 @@ x264: ...@@ -1460,12 +1460,8 @@ x264:
endif endif
ifdef HAVE_WIN32 ifdef HAVE_WIN32
.x264: x264 .pthreads .x264: x264
ifdef HAVE_CYGWIN (cd $<; $(HOSTCC) ./configure $(X264CONF) --prefix="$(PREFIX)" --enable-win32thread && make && make install)
(cd $<; $(HOSTCC) RANLIB="ranlib" AR="ar" STRIP="strip" ./configure $(X264CONF) --prefix="$(PREFIX)" --extra-cflags="-I$(PREFIX)/include" --extra-ldflags="-L$(PREFIX)/lib" && make && make install)
else
(cd $<; $(HOSTCC) ./configure $(X264CONF) --prefix="$(PREFIX)" && make && make install)
endif
else else
ifdef HAVE_MACOSX_ON_INTEL ifdef HAVE_MACOSX_ON_INTEL
.x264: x264 .yasm .x264: x264 .yasm
......
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