libtool-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH] Add TPF settings for LT_SYS_DLOPEN_SELF


From: DJ Delorie
Subject: [PATCH] Add TPF settings for LT_SYS_DLOPEN_SELF
Date: Mon, 30 Apr 2012 18:36:39 -0400

* 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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]