[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: create OpenBSD ELF shared libraries with soname
From: |
Brad |
Subject: |
Re: create OpenBSD ELF shared libraries with soname |
Date: |
Sun, 11 Jan 2004 21:01:55 -0500 |
User-agent: |
Mutt/1.5.5.1i |
On Sun, Jan 11, 2004 at 04:32:58PM +0200, Nedko Arnaudov wrote:
> --- sandbox/libtool-1.5/libtool.m4 Tue Apr 15 00:58:23 2003
> +++ /home/nedko/myroot/share/aclocal/libtool.m4 Fri Jan 2 16:56:33 2004
> @@ -5495,7 +5495,7 @@
> _LT_AC_TAGVAR(hardcode_direct, $1)=yes
> _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
> if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test
> "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
> - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs
> $deplibs $compiler_flags'
> + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag ${wl}-soname
> ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
> _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
> _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
> else
> IMO this is correct for OpenBSD 3.4
> Don't know about older non ELF OpenBSD releases.
> --
> Nedko Arnaudov
No, this is wrong. OpenBSD does not need the SONAME specified.
// Brad
address@hidden
address@hidden