From 7d234efdfacac736e8324c2ea1bfa617e907d3c9 Mon Sep 17 00:00:00 2001 From: Francesco Riosa Date: Sun, 10 Dec 2006 02:33:30 +0000 Subject: [PATCH] oops, re-add static use flag when combined with minimal, thanks Scott Price --- eclass/mysql.eclass | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/eclass/mysql.eclass b/eclass/mysql.eclass index 6215ccb0deec..07692f813d66 100644 --- a/eclass/mysql.eclass +++ b/eclass/mysql.eclass @@ -1,6 +1,6 @@ # Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/mysql.eclass,v 1.46 2006/12/10 01:11:47 vivo Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/mysql.eclass,v 1.47 2006/12/10 02:33:30 vivo Exp $ # Author: Francesco Riosa # Maintainer: Luca Longinotti @@ -167,6 +167,13 @@ configure_minimal() { done myconf="${myconf} --with-extra-charsets=none" myconf="${myconf} --enable-local-infile" + + if useq "static" ; then + myconf="${myconf} --with-client-ldflags=-all-static" + myconf="${myconf} --disable-shared" + else + myconf="${myconf} --enable-shared --enable-static" + fi } configure_common() { -- 2.26.2