[x264-devel] commit: fix shared libs on MacOSX (Guillaume Poirier )

git version control git at videolan.org
Wed Apr 2 12:08:10 CEST 2008


x264 | branch: master | Guillaume Poirier <gpoirier at mplayerhq.hu> | Mon Mar 31 10:50:45 2008 +0200| [08b5132ff6e6a8e986b6699987b49624e4efbef3]

fix shared libs on MacOSX
based on a patch by İsmail Dönmez

> http://git.videolan.org/gitweb.cgi/x264.git/?a=commit;h=08b5132ff6e6a8e986b6699987b49624e4efbef3
---

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

diff --git a/configure b/configure
index 6eb68c8..19d76d4 100755
--- a/configure
+++ b/configure
@@ -463,6 +463,9 @@ if [ "$shared" = "yes" ]; then
         echo "SONAME=libx264-$API.dll" >> config.mak
         echo 'IMPLIBNAME=libx264.dll.a' >> config.mak
         echo 'SOFLAGS=-Wl,--out-implib,$(IMPLIBNAME) -Wl,--enable-auto-image-base' >> config.mak
+    elif [ "$SYS" = "MACOSX" ]; then
+        echo "SONAME=libx264.$API.dylib" >> config.mak
+        echo 'SOFLAGS=-dynamiclib -Wl,-single_module -Wl,-read_only_relocs,suppress' >> config.mak        
     else
         echo "SONAME=libx264.so.$API" >> config.mak
         echo 'SOFLAGS=-Wl,-soname,$(SONAME)' >> config.mak



More information about the x264-devel mailing list