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

Howard Chu hyc at highlandsun.com
Fri Jul 29 10:38:02 CEST 2011


Can you please provide more explanation of what this patch does or why it's 
needed?

Scott D. Davilla wrote:
> ---
>    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))



More information about the rtmpdump mailing list