libtool-patches
[Top][All Lists]
Advanced

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

FYI: Solaris changes for branch-1-5


From: Ralf Wildenhues
Subject: FYI: Solaris changes for branch-1-5
Date: Mon, 20 Dec 2004 10:03:18 +0100
User-agent: Mutt/1.4.1i

I have applied the following two patches to branch-1-5.

Note that I have deliberately *not* applied the other proposed Solaris
changes to this branch, as there might be applications relying on the
old and arguably buggy behavior, and upgrading within the stable branch
should IMNSHO be a no-brainer.

Regards,
Ralf

2004-12-20  Ralf Wildenhues <address@hidden>

        * libtool.m4 [solaris] (AC_LIBTOOL_PROG_LD_SHLIBS): Use ${wl} for
        whole_archive_flag_spec.  Missing backport reported by Ralf Menzel
        <address@hidden>.

Index: libtool.m4
===================================================================
RCS file: /cvsroot/libtool/libtool/Attic/libtool.m4,v
retrieving revision 1.314.2.54
diff -u -r1.314.2.54 libtool.m4
--- libtool.m4  18 Dec 2004 21:45:59 -0000      1.314.2.54
+++ libtool.m4  20 Dec 2004 08:42:00 -0000
@@ -5737,7 +5737,7 @@
       case $host_os in
       solaris2.[[0-5]] | solaris2.[[0-5]].*) ;;
       *) # Supported since Solaris 2.6 (maybe 2.5.1?)
-       _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='-z allextract$convenience 
-z defaultextract' ;;
+       _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='${wl}-z 
${wl}allextract$convenience ${wl}-z ${wl}defaultextract' ;;
       esac
       _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
       ;;



2004-12-20  Ralf Wildenhues <address@hidden>

        * tests/demo-nopic.test [solaris, sunos]: Skip test.

Index: tests/demo-nopic.test
===================================================================
RCS file: /cvsroot/libtool/libtool/tests/demo-nopic.test,v
retrieving revision 1.4.2.4
diff -u -r1.4.2.4 demo-nopic.test
--- tests/demo-nopic.test       17 Nov 2004 13:03:24 -0000      1.4.2.4
+++ tests/demo-nopic.test       20 Dec 2004 08:42:01 -0000
@@ -15,6 +15,11 @@
 hppa*|x86_64*|s390*)
         echo "Not running on $host, it doesn't like non-PIC shared libs" 2>&1
         exit 77
+       ;;
+*-solaris*|*-sunos*)
+       echo "libtool does not build non-PIC shared libs on $host_os" 2>&1
+       exit 77
+       ;;
 esac
 
 # Maybe we have a VPATH build, in which case, create a new subdir.




reply via email to

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