[rtmpdump] [PATCH 1/2] darwin dylibs should used twolevel_namespace and dynamic_lookup

Scott D. Davilla davilla at xbmc.org
Mon Jul 25 23:11:21 CEST 2011


---
  librtmp/Makefile |    2 +-
  1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/librtmp/Makefile b/librtmp/Makefile
index b88baf4..13df1f8 100644
--- a/librtmp/Makefile
+++ b/librtmp/Makefile
@@ -52,7 +52,7 @@ SODIR_mingw=$(BINDIR)
  SODIR=$(SODIR_$(SYS))

  SO_LDFLAGS_posix=-shared -Wl,-soname,$@
-SO_LDFLAGS_darwin=-dynamiclib -flat_namespace -undefined suppress 
-fno-common \
+SO_LDFLAGS_darwin=-dynamiclib -twolevel_namespace -undefined 
dynamic_lookup -fno-common \
  	-headerpad_max_install_names
  SO_LDFLAGS_mingw=-shared -Wl,--out-implib,librtmp.dll.a
  SO_LDFLAGS=$(SO_LDFLAGS_$(SYS))
-- 
1.7.4.1



More information about the rtmpdump mailing list