This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]