Re: [PATCH] Add TPF settings for LT_SYS_DLOPEN_SELF

DJ Delorie <[email protected]>
Newsgroups gmane.comp.gnu.libtool.patches
Message-ID <[email protected]>
Ping?

http://lists.gnu.org/archive/html/libtool-patches/2012-04/msg00003.html

> Date: Mon, 30 Apr 2012 18:36:39 -0400
> From: DJ Delorie <[email protected]>
> 
> 
> * m4/libtool.m4: Since we know that all TPF builds are cross-
> builds, do not attempt to run linker tests during config. Use
> known constants instead, since we know how dlopen() is
> implemented.
> ---
>  m4/libtool.m4 |    8 ++++++++
>  1 files changed, 8 insertions(+), 0 deletions(-)
> 
> diff --git a/m4/libtool.m4 b/m4/libtool.m4
> index a8ecbc3..0ba7a28 100644
> --- a/m4/libtool.m4
> +++ b/m4/libtool.m4
> @@ -1883,6 +1883,14 @@ else
>      ])
>      ;;
>  
> +  tpf*)
> +  #  Don't try to run any link tests for TPF, we know it's impossible,
> +  #  and we know how we open DSOs.
> +    lt_cv_dlopen="dlopen"
> +    lt_cv_dlopen_libs=
> +    lt_cv_dlopen_self=no
> +    ;;
> +
>    *)
>      AC_CHECK_FUNC([shl_load],
>  	  [lt_cv_dlopen=shl_load],
> -- 
> 1.7.1
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.