Browse code

Use proper library versions instead of SPPVERSION in Darwin SHFLAGS.

Originally committed as revision 12423 to svn://svn.ffmpeg.org/ffmpeg/trunk

Diego Biurrun authored on 2008/03/13 04:27:24
Showing 1 changed files
... ...
@@ -1200,7 +1200,7 @@ case $targetos in
1200 1200
         ;;
1201 1201
     darwin)
1202 1202
         disable need_memalign
1203
-        SHFLAGS='-dynamiclib -Wl,-single_module -Wl,-install_name,$(SHLIBDIR)/$(SLIBNAME),-current_version,$(SPPVERSION),-compatibility_version,$(SPPVERSION) -Wl,-read_only_relocs,suppress'
1203
+        SHFLAGS='-dynamiclib -Wl,-single_module -Wl,-install_name,$(SHLIBDIR)/$(SLIBNAME),-current_version,$(LIBVERSION),-compatibility_version,$(LIBMAJOR) -Wl,-read_only_relocs,suppress'
1204 1204
         VHOOKSHFLAGS='-dynamiclib -Wl,-single_module -flat_namespace -undefined suppress -Wl,-install_name,$(SHLIBDIR)/vhook/$@'
1205 1205
         strip="strip -x"
1206 1206
         FFLDFLAGS="-Wl,-dynamic,-search_paths_first"