Skip to content

Instantly share code, notes, and snippets.

@avotx3
avotx3 / ffmpeg-configure-osx.sh
Created August 1, 2017 15:56 — forked from lalinsky/ffmpeg-configure-osx.sh
Configure static audio-only FFmpeg on OS X
#!/bin/sh
./configure \
--prefix=$PREFIX \
--enable-cross-compile \
--arch=$ARCH \
--target-os=darwin \
--cc="/usr/bin/gcc-4.0" \
--extra-ldflags="-isysroot /Developer/SDKs/MacOSX10.4u.sdk -mmacosx-version-min=10.4 -arch $ARCH" \
--extra-cflags="-isysroot /Developer/SDKs/MacOSX10.4u.sdk -mmacosx-version-min=10.4 -arch $ARCH" \