[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Help-smalltalk] Loading .so's / updating ltdl
From: |
Paolo Bonzini |
Subject: |
Re: [Help-smalltalk] Loading .so's / updating ltdl |
Date: |
Wed, 17 May 2006 16:23:16 +0200 |
User-agent: |
Thunderbird 1.5.0.2 (Macintosh/20060308) |
Mike Anderson wrote:
I've been able to load .so libraries by copying ltdl.m4 to acinclude.m4,
as suggested by the libtool documentation (I also copied in newer
versions of ltdl.c and ltdl.h).
This works, but I don't really know what I'm doing. In particular, it
seems 'suspicious' that there isn't an acinclude.m4 already.
Instead of a single acinclude.m4, there are many files in the config
directory, including config/ltdl.m4.
This one had a mismatch with the libtool.m4, whose origin I don't know.
This stupid patch will do:
--- orig/config/ltdl.m4
+++ mod/config/ltdl.m4
@@ -213,7 +213,7 @@
[libltdl_cv_shlibext],
[
module=yes
-eval libltdl_cv_shlibext=$shrext
+eval libltdl_cv_shlibext=$shrext_cmds
])
if test -n "$libltdl_cv_shlibext"; then
AC_DEFINE_UNQUOTED(LTDL_SHLIB_EXT, "$libltdl_cv_shlibext",
Paolo, back from the dead