Skip to content

Commit

Permalink
Disable lots of unused features and only build static libs
Browse files Browse the repository at this point in the history
  • Loading branch information
wader authored and andoma committed Apr 6, 2011
1 parent 26e55d7 commit 98818d9
Showing 1 changed file with 18 additions and 1 deletion.
19 changes: 18 additions & 1 deletion support/osx/buildenv.common.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ export LDFLAGS="-arch $CC_ARCH -mmacosx-version-min=$OSX_TARGET -isysroot $OSX_S

(cd freetype* && \
./configure "--prefix=$INSTALLDIR" \
--disable-shared \
--enable-static && \
make clean && \
make && \
Expand All @@ -16,10 +17,26 @@ export LDFLAGS="-arch $CC_ARCH -mmacosx-version-min=$OSX_TARGET -isysroot $OSX_S

(cd ffmpeg* && \
./configure "--prefix=$INSTALLDIR" \
--disable-encoders \
--disable-bsfs \
--disable-filters \
--disable-muxers \
--disable-devices \
--disable-protocols \
--disable-network \
--disable-stripping \
--disable-ffserver \
--disable-ffmpeg \
--disable-ffplay \
--disable-ffprobe \
--disable-bzlib \
--disable-decoder=twinvq \
--disable-decoder=snow \
--disable-decoder=cavs \
--disable-shared \
--enable-static && \
make clean && \
make && \
make install \
)


0 comments on commit 98818d9

Please sign in to comment.