]> Pileus Git - ~andy/gtk/commitdiff
Patch to libtool-1.2b to make --disable-static
authorOwen Taylor <otaylor@redhat.com>
Sun, 20 Sep 1998 22:14:58 +0000 (22:14 +0000)
committerOwen Taylor <otaylor@src.gnome.org>
Sun, 20 Sep 1998 22:14:58 +0000 (22:14 +0000)
Sun Sep 20 18:21:46 1998  Owen Taylor  <otaylor@redhat.com>

* ltconfig.sh: Patch to libtool-1.2b to make --disable-static

ChangeLog
ChangeLog.pre-2-0
ChangeLog.pre-2-10
ChangeLog.pre-2-2
ChangeLog.pre-2-4
ChangeLog.pre-2-6
ChangeLog.pre-2-8
ltmain.sh

index e4296dc8fc11dab0a0ddad221d54b3a709fa2ac9..3fd3387908b4e9d4b2667c6a2c62b4af7ca6fe7d 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+Sun Sep 20 18:21:46 1998  Owen Taylor  <otaylor@redhat.com>
+
+       * ltconfig.sh: Patch to libtool-1.2b to make --disable-static
+       work.
+
 Sun Sep 20 09:52:39 1998  Owen Taylor  <otaylor@gtk.org>
 
        * HACKING: indent other than GNU indent should be OK
index e4296dc8fc11dab0a0ddad221d54b3a709fa2ac9..3fd3387908b4e9d4b2667c6a2c62b4af7ca6fe7d 100644 (file)
@@ -1,3 +1,8 @@
+Sun Sep 20 18:21:46 1998  Owen Taylor  <otaylor@redhat.com>
+
+       * ltconfig.sh: Patch to libtool-1.2b to make --disable-static
+       work.
+
 Sun Sep 20 09:52:39 1998  Owen Taylor  <otaylor@gtk.org>
 
        * HACKING: indent other than GNU indent should be OK
index e4296dc8fc11dab0a0ddad221d54b3a709fa2ac9..3fd3387908b4e9d4b2667c6a2c62b4af7ca6fe7d 100644 (file)
@@ -1,3 +1,8 @@
+Sun Sep 20 18:21:46 1998  Owen Taylor  <otaylor@redhat.com>
+
+       * ltconfig.sh: Patch to libtool-1.2b to make --disable-static
+       work.
+
 Sun Sep 20 09:52:39 1998  Owen Taylor  <otaylor@gtk.org>
 
        * HACKING: indent other than GNU indent should be OK
index e4296dc8fc11dab0a0ddad221d54b3a709fa2ac9..3fd3387908b4e9d4b2667c6a2c62b4af7ca6fe7d 100644 (file)
@@ -1,3 +1,8 @@
+Sun Sep 20 18:21:46 1998  Owen Taylor  <otaylor@redhat.com>
+
+       * ltconfig.sh: Patch to libtool-1.2b to make --disable-static
+       work.
+
 Sun Sep 20 09:52:39 1998  Owen Taylor  <otaylor@gtk.org>
 
        * HACKING: indent other than GNU indent should be OK
index e4296dc8fc11dab0a0ddad221d54b3a709fa2ac9..3fd3387908b4e9d4b2667c6a2c62b4af7ca6fe7d 100644 (file)
@@ -1,3 +1,8 @@
+Sun Sep 20 18:21:46 1998  Owen Taylor  <otaylor@redhat.com>
+
+       * ltconfig.sh: Patch to libtool-1.2b to make --disable-static
+       work.
+
 Sun Sep 20 09:52:39 1998  Owen Taylor  <otaylor@gtk.org>
 
        * HACKING: indent other than GNU indent should be OK
index e4296dc8fc11dab0a0ddad221d54b3a709fa2ac9..3fd3387908b4e9d4b2667c6a2c62b4af7ca6fe7d 100644 (file)
@@ -1,3 +1,8 @@
+Sun Sep 20 18:21:46 1998  Owen Taylor  <otaylor@redhat.com>
+
+       * ltconfig.sh: Patch to libtool-1.2b to make --disable-static
+       work.
+
 Sun Sep 20 09:52:39 1998  Owen Taylor  <otaylor@gtk.org>
 
        * HACKING: indent other than GNU indent should be OK
index e4296dc8fc11dab0a0ddad221d54b3a709fa2ac9..3fd3387908b4e9d4b2667c6a2c62b4af7ca6fe7d 100644 (file)
@@ -1,3 +1,8 @@
+Sun Sep 20 18:21:46 1998  Owen Taylor  <otaylor@redhat.com>
+
+       * ltconfig.sh: Patch to libtool-1.2b to make --disable-static
+       work.
+
 Sun Sep 20 09:52:39 1998  Owen Taylor  <otaylor@gtk.org>
 
        * HACKING: indent other than GNU indent should be OK
index cb8174715ae6d80fe4d5bb2a23548826e285c616..062d3f238350d050f18a199ac9f7cca3defc6e83 100644 (file)
--- a/ltmain.sh
+++ b/ltmain.sh
@@ -932,7 +932,7 @@ if test -z "$show_help"; then
       install_libdir="$2"
 
       # Now set the variables for building old libraries.
-      oldlibs="$objdir/$libname.a"
+      oldlibs=
       if test -z "$rpath"; then
        # Building a libtool convenience library.
        oldlibs="$objdir/$libname.al $oldlibs"
@@ -1074,6 +1074,14 @@ if test -z "$show_help"; then
         fi
       fi
 
+      # Now set the variables for building old libraries.
+      if test "$build_old_libs" = yes && test "$build_libtool_libs" != convenience ; then
+        oldlibs="$oldlibs $objdir/$libname.a"
+
+       # Transform .lo files to .o files.
+       oldobjs="$objs"`$echo "X$libobjs " | $Xsed -e 's/[^   ]*\.a //g' -e 's/\.lo /.o /g' -e 's/ $//g'`
+      fi
+
       if test "$build_libtool_libs" = yes; then
        # Get the real and link names of the library.
        eval library_names=\"$library_names_spec\"
@@ -1096,9 +1104,6 @@ if test -z "$show_help"; then
        # Use standard objects if they are PIC.
        test -z "$pic_flag" && libobjs=`$echo "X$libobjs " | $Xsed -e 's/\.lo /.o /g' -e 's/ $//g'`
 
-       # Transform .lo files to .o files.
-       test "$build_old_libs" = yes && oldobjs="$objs"`$echo "X$libobjs " | $Xsed -e 's/[^   ]*\.a //g' -e 's/\.lo /.o /g' -e 's/ $//g'`
-
        if test -n "$whole_archive_flag_spec"; then
          if test -n "$convenience"; then
            eval libobjs=\"\$libobjs $whole_archive_flag_spec\"