]> git.ipfire.org Git - thirdparty/libtool.git/commitdiff
libtool: Add TPF settings for LT_SYS_DLOPEN_SELF
authorDJ Delorie <dj@redhat.com>
Wed, 9 Oct 2013 21:25:13 +0000 (14:25 -0700)
committerBrooks Moses <bmoses@google.com>
Wed, 9 Oct 2013 21:25:13 +0000 (14:25 -0700)
* 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

index fa192d91f58d232b77615e28819f1e9449437201..12aaa767df2d11f4fbbb446dac159ea2de468677 100644 (file)
@@ -1928,6 +1928,14 @@ else
     ])
     ;;
 
+  tpf*)
+    # Don't try to run any link tests for TPF.  We know it's impossible
+    # because TPF is a cross-compiler, 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],