[patch] Disable static build for libjava

Jakub Jelinek jakub@redhat.com
Thu Jul 7 20:27:00 GMT 2011


On Thu, Jul 07, 2011 at 10:22:37PM +0200, Matthias Klose wrote:
> +AC_PROG_LIBTOOL
> +if test x$enable_shared = xyes && test x$enable_static_libjava != xyes ; then
> +  case $host_cpu in

Shouldn't this be $host_os instead of $host_cpu ?  cygwin* etc.
don't look like host_cpu names...

> +  cygwin* | mingw* | pw32* | cegcc*)
> +    ;;
> +  *)
> +    EXTRA_CONFIGARGS_LIBJAVA=--disable-static

	Jakub



More information about the Gcc-patches mailing list