[x264-devel] commit: fix shared libs on MacOSX (Guillaume Poirier )
git version control
git at videolan.org
Mon Mar 31 13:39:38 CEST 2008
x264 | branch: master | Guillaume Poirier <gpoirier at mplayerhq.hu> | Mon Mar 31 10:50:45 2008 +0200| [3422698d2b959ce3b49fed8f30eb00fb176fc6f6]
fix shared libs on MacOSX
based on a patch by İsmail Dönmez
> http://git.videolan.org/gitweb.cgi/x264.git/?a=commit;h=3422698d2b959ce3b49fed8f30eb00fb176fc6f6
---
configure | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/configure b/configure
index d1fa222..953d92d 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