[x264-devel] [PATCH 1/2] macosx: version the libraries
Sean McGovern
gseanmcg at gmail.com
Mon Feb 13 05:07:02 CET 2012
---
configure | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/configure b/configure
index db7ad0e..4f1f820 100755
--- a/configure
+++ b/configure
@@ -1091,7 +1091,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