This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[PATCH] ltconfig AIX 5L shared libraries
- From: David Edelsohn <dje at watson dot ibm dot com>
- To: Alexandre Oliva <aoliva at redhat dot com>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Thu, 04 Mar 2004 12:36:37 -0500
- Subject: [PATCH] ltconfig AIX 5L shared libraries
Libtool in GCC 3.3, GCC 3.4, and mainline was never updated to
match AIX 4: disable static libraries if building shared libraries.
Is this okay for gcc-3.3 branch, gcc-3.4 branch, and mainline?
Alexandre, can you help push this upstream into libtool CVS
sources?
Thanks, David
* ltconfig: Disable building static libraries if building shared
libraries on AIX 5L.
Index: ltconfig
===================================================================
RCS file: /cvs/gcc/gcc/ltconfig,v
retrieving revision 1.29
diff -c -p -r1.29 ltconfig
*** ltconfig 19 Nov 2003 05:29:32 -0000 1.29
--- ltconfig 4 Mar 2004 17:19:42 -0000
*************** aix3*)
*** 1592,1598 ****
fi
;;
! aix4*)
test "$enable_shared" = yes && enable_static=no
;;
esac
--- 1593,1599 ----
fi
;;
! aix4* | aix5*)
test "$enable_shared" = yes && enable_static=no
;;
esac