[x264-devel] [PATCH] macosx: version the libraries

Sean McGovern gseanmcg at gmail.com
Sat Jan 28 03:35:29 CET 2012


---
 configure |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/configure b/configure
index 5c58f5a..e6a632e 100755
--- a/configure
+++ b/configure
@@ -1058,7 +1058,7 @@ if [ "$shared" = "yes" ]; then
     elif [ "$SYS" = "MACOSX" ]; then
         echo "SOSUFFIX=dylib" >> config.mak
         echo "SONAME=libx264.$API.dylib" >> config.mak
-        echo "SOFLAGS=-shared -dynamiclib -Wl,-single_module -Wl,-read_only_relocs,suppress -install_name \$(DESTDIR)\$(libdir)/\$(SONAME) $SOFLAGS" >> config.mak
+        echo "SOFLAGS=-shared -dynamiclib -Wl,-single_module -Wl,-read_only_relocs,suppress -Wl,-compatibility_version,$API.0.0 -Wl,-current_version,$API.0.0 -install_name \$(DESTDIR)\$(libdir)/\$(SONAME) $SOFLAGS" >> config.mak
     elif [ "$SYS" = "SunOS" ]; then
         echo "SOSUFFIX=so" >> config.mak
         echo "SONAME=libx264.so.$API" >> config.mak
-- 
1.7.7



More information about the x264-devel mailing list