diff options
author | Diego Biurrun <diego@biurrun.de> | 2005-09-26 10:05:13 +0000 |
---|---|---|
committer | Diego Biurrun <diego@biurrun.de> | 2005-09-26 10:05:13 +0000 |
commit | 4e159595b51af5edcf87aeb91359cb97485ef3df (patch) | |
tree | 61482ac1fdce94f505e4330510c57591047036f1 /configure | |
parent | 399d84012fec13529e191b6f9d659b977ebfd035 (diff) | |
download | ffmpeg-4e159595b51af5edcf87aeb91359cb97485ef3df.tar.gz |
support for building dynamic libraries on Mac OS X
based on a patch by Lina Pezzella <J4rg0n -- at -- gentoo -- dot -- org>
Originally committed as revision 4616 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -329,11 +329,12 @@ v4l="no" audio_oss="no" dv1394="no" ffserver="no" -SHFLAGS="-dynamiclib" +SHFLAGS="-dynamiclib -Wl,-single_module,-undefined,dynamic_lookup" extralibs="" darwin="yes" strip="strip -x" -LDFLAGS="-Wl,-search_paths_first" +LDFLAGS="-Wl,-dynamic,-search_paths_first" +SLIBSUF=".dylib" FFSLDFLAGS=-Wl,-bind_at_load ;; MINGW32*) @@ -1428,6 +1429,8 @@ fi if test "$lshared" = "yes" ; then echo "BUILD_SHARED=yes" >> config.mak echo "PIC=-fPIC -DPIC" >> config.mak + echo "SPPMAJOR=0" >> config.mak + echo "SPPVERSION=0.0.1" >> config.mak fi echo "EXTRALIBS=$extralibs" >> config.mak version=`grep '#define FFMPEG_VERSION ' "$source_path/libavcodec/avcodec.h" | |