[PATCH] ltconfig AIX 5L shared libraries

David Edelsohn dje@watson.ibm.com
Thu Mar 4 17:36:00 GMT 2004


	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



More information about the Gcc-patches mailing list