Skip to content

Commit d44af7f

Browse files
committed
fix libjpeg turbo os x
1 parent 1a92134 commit d44af7f

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

cross_compile_ffmpeg.sh

+5-1
Original file line numberDiff line numberDiff line change
@@ -693,7 +693,11 @@ build_libdlfcn() {
693693
}
694694

695695
build_libjpeg_turbo() {
696-
generic_download_and_install http://sourceforge.net/projects/libjpeg-turbo/files/1.3.1/libjpeg-turbo-1.3.1.tar.gz/download libjpeg-turbo-1.3.1
696+
download_and_unpack_file http://sourceforge.net/projects/libjpeg-turbo/files/1.3.1/libjpeg-turbo-1.3.1.tar.gz/download libjpeg-turbo-1.3.1
697+
cd libjpeg-turbo-1.3.1
698+
sed -i.bak 's/nasm nasmw yasm/yasm nasm nasmw/' configure # tell it to prefer yasm, since nasm on OS X is old and broken for 64 bit builds
699+
generic_configure_make_install
700+
cd ..
697701
}
698702

699703
build_libogg() {

0 commit comments

Comments
 (0)