Rafael Laboissiere <rafael(a)icp.inpg.fr> writes:
> If you are on linux, you need to link temacs with
-Wl,--export-dynamic
Great, it works. Thanks.
IMO this should be autodetected by configure, or better documented in the
modules/sample directory.
Actually, it tried to do so but failed because of a bug.
This patch fixes it. You need to run autconf.
I'll apply this soon. I won't have good internet connection
for about two weeks.
2000-03-09 Yoshiki Hayashi <yoshiki(a)xemacs.org>
* aclocal.m4 (XE_SHLIB_STUFF): Define ld_shlibs to yes
when C compiler can produce shared libraries.
Index: aclocal.m4
===================================================================
RCS file: /usr/CVSroot/XEmacs/xemacs/aclocal.m4,v
retrieving revision 1.2.2.5
diff -u -r1.2.2.5 aclocal.m4
--- aclocal.m4 2000/02/10 00:39:28 1.2.2.5
+++ aclocal.m4 2000/03/10 06:47:20
@@ -386,6 +386,7 @@
dll_ld=$CC
dll_ldflags=$xcldf
can_build_shared=yes
+ ld_shlibs=yes
else
# OK - only NOW do we futz about with ld.
# See if the linker supports building shared libraries.
--
Yoshiki Hayashi