libtool-patches
[Top][All Lists]
Advanced

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

Re: [PATCH] libtool & OpenBSD


From: Bob Friesenhahn
Subject: Re: [PATCH] libtool & OpenBSD
Date: Tue, 22 Oct 2002 14:38:03 -0500 (CDT)

It seems that this patch was already applied to CVS head in September.
Please verify that CVS libtool (MAIN) works properly under OpenBSD.

Robert Boehne can take care of any patches for libtool 1.4.

Bob

On Tue, 22 Oct 2002, Brad wrote:

> Maybe after the 3rd time this will get commited...
>
> Patches for 1.4 and HEAD branches.
>
> The ChangeLog entry:
>
> >From Brad Smith <address@hidden>
> libtool.m4: $linker_flag -> $compiler_flag for OpenBSD
>             archive_cmds entries using $CC.
>
> // Brad
>
> address@hidden
> address@hidden
>
> --- libtool-1.4/libtool.m4.orig       Sat Aug 24 12:10:44 2002
> +++ libtool-1.4/libtool.m4    Sat Aug 24 12:13:40 2002
> @@ -1666,7 +1666,7 @@ else
>      hardcode_direct=yes
>      hardcode_shlibpath_var=no
>      if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test 
> "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
> -      archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs 
> $linker_flags'
> +      archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs 
> $compiler_flags'
>        hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
>        export_dynamic_flag_spec='${wl}-E'
>      else
> @@ -1676,7 +1676,7 @@ else
>       hardcode_libdir_flag_spec='-R$libdir'
>          ;;
>        *)
> -        archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs 
> $linker_flags'
> +        archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs 
> $compiler_flags'
>          hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
>          ;;
>        esac
>
> --- libtool/libtool.m4.orig   Sat Aug 24 12:15:31 2002
> +++ libtool/libtool.m4        Sat Aug 24 12:19:10 2002
> @@ -5065,9 +5065,8 @@ EOF
>      openbsd*)
>        _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 $linker_flags'
> +     _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -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
> @@ -5077,7 +5076,7 @@ EOF
>          _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
>          ;;
>        *)
> -        _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -o $lib 
> $libobjs $deplibs $linker_flags'
> +        _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -o $lib 
> $libobjs $deplibs $compiler_flags'
>          _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
>          ;;
>         esac
>
>
> _______________________________________________
> Libtool-patches mailing list
> address@hidden
> http://mail.gnu.org/mailman/listinfo/libtool-patches
>

======================================
Bob Friesenhahn
address@hidden
http://www.simplesystems.org/users/bfriesen





reply via email to

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